3 ms·
Stripping periods is probably beneficial more often than not. Also commas and closing parentheses, I imagine. Ideally the script would test url before modifying
by aptwebapps 11y ago
Stripping periods is probably beneficial more often than not. Also commas and closing parentheses, I imagine. Ideally the script would test url before modifying.
- saurik 11y agoI seriously, just a few minutes before reading this thread, out a period after a URL and was concerned "will this break? who is parsing the links, and in what scenarios will the period accidentally be considered part of the URL?" and decided "engh, I bet nothing expects periods at the end of URLs and thereby it will get chopped off, and people putting periods at the ends of URLs probably learn quickly that that causes problems and avoid doing that"... and then I read this thread ;P.
- aptwebapps 11y agoI actually have seen urls that ended with a long row of commas, now that I think of it. Empty parameters, I guess.
- jacquesm 11y agoEmpty parameters won't affect the url resolution (normally), they'll just be passed as empty to the same url. (Assuming the parameters were in the querystring as they should be...).
- aptwebapps 11y agoNo, not in the querystring. I didn't mean GET parameters.