Path field needs better help text and validation
beeradb - March 7, 2009 - 18:58
| Project: | Drupal |
| Version: | 7.x-dev |
| Component: | path.module |
| Category: | task |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | duplicate |
| Issue tags: | UBUserTesting2009 |
Jump to:
Description
The Path field when setting up a path alias has no validation on it. Additionally the help text states "do not end paths with slash", leading some users to think that the path should then start with a slash. If the user does start the path with a slash, such as "/example", they get redirected to "http://example". Now it's extremely difficult to get back to the page, since all links to it are pointing to the wrong location.
Users might also enter in a Full URL into the path field, ending up with really crazy long aliases that don't make much sense.
We should improve the validation and help text of this field.

#1
See also: #103680: Remove leading and trailing slashes in path aliases (and removing dots).
#2
Marking this a duplicate of #103680: Remove leading and trailing slashes in path aliases (and removing dots).