Fix #18761: Added whitespace stripping to URLField and SlugField