url with multiple forward slashes, does it break anything?
问题 http://example.com/something/somewhere//somehow/script.js Does the double slash break anything on the server side? I have a script that parses URLs and i was wondering if it would break anything (or change the path) if i replaced multiple slashes with a single slash. Especially on the server side, some frameworks like CodeIgniter and Joomla use segmented url schemes and routing. I would just want to know if it breaks anything. 回答1: HTTP RFC 2396 defines path separator to be single slash .