Do not lower case external urls
* keep original case for urls
* added rest test
* fix #1677