Slash in beginning of URL path settings

j45on - June 23, 2009 - 11:37
Project:Path
Component:Miscellaneous
Category:feature request
Priority:minor
Assigned:j45on
Status:needs work
Description

The form allows the submission of URL path with slash in the beginning (example; /directory1/directory2) which will give a "path already in use" error thus content not able to load because the href is now http://directory1/directory2 instead of http://www.domain.com/directory1/directory2.

Hovering the mouse over the link gives http://directory1/directory2 and the problem is not detected unless the user check using browser's element inspection. I hope that with such a detection in place to disallow form submission beginning with slash, it will allow news users to correct their mistake sooner.

Problem was solved in the IRC.

 
 

Drupal is a registered trademark of Dries Buytaert.