Only domain name should be compared
Use get for shorten service
Merge pull request #1660 from geoadmin/gal_shorten_cors

Use cors to shorten URLs (and fix CORS hack)