Suppose my web service needs to send a password recovery e-mail message to the user. The message will contain a link (with some disposable token). Something like:
To reset your password please follow this link:
http://example.com/recover/TOKEN
Now there's a problem. From the grammar point of view, a sentence must end with a period:
To reset your password please follow this link:
http://example.com/recover/TOKEN
.
If the message is sent in plain text or if the user is unwilling to click onto the link, but wants to copy it and paste into his browser, he might accidentally include the period into the link and that might lead to an error message from the service. Technically, it will be a user error, but it will negatively affect user experience.
So which to prefer -- a slightly illiterate phrasing or additional risk of user error?
http://www.foo.bar/path#.
" Having a non-existing anchor is harmless AFAIK, and it doesn't matter if the client is clever enough to figure out where the URL ends.