At
http://ec.europa.eu/languages/inspire/0810-clipflair_en.htm
the European Commission have featured the ClipFlair project :-)
However, at the end of their page they had a link to the social network part of the ClipFlair project, with an extra encoded space at the end, that is
http://social.clipflair.net/%20 which was showing an error page (not found) to the visitor who clicked that link. I told them to correct it, but now they seem to be going to the same URL with the extra space at the end, just not encoding it to %20 (!!!). Obviously you can't type a URL with spaces at the end in say Mozilla Firefox, it trims it, but seems that if an anchor tag has such a link, they try to go to it and most importantly they don't encode it on the address bar automatically, so user sees "
http://social.clipflair.net " on the addressbar (without the double-quotes) and they don't understand why they see a missing content page (404 I guess it is). So it looks a bit worse than before now after they "fixed" their link :-(
So, my question is, can IIS or ASP.net be set to trim such spaces from the end of incoming URLs, or could some URL rewrite be written to fix it? (I'm not familiar with the rewrite engine MonoX uses, so if you can provide a copy-pasteable suggestion to place in web.config I'd be grateful)
UPDATE: seems I was wrong on my evaluation of the issue above, they have fixed only the text, not the URL at the anchor tag, that's why it still fails (Firefox does remove trailing spaces from URLs fine if they're in the href of the anchor tag). So I need to remove %20 from the end of the URL, they have in their HTML:
<a href="http://social.clipflair.net/%20" target="_blank">ClipFlair website
cheers,
George