ajstiles / urly

ur.ly is a URL-shortening web app built on the Google App Engine. The production version lived at http://ur.ly/ before I sold the domain in 2018.
http://ur.ly/
56 stars 13 forks source link

#blah ignored at end of url #3

Closed bjschnei closed 13 years ago

bjschnei commented 13 years ago

shortening the url

www.mysite.com/foobar#part1

will give you a short url that resolves to

www.mysite.com/foobar

undesired behavior.

bjschnei commented 13 years ago

doh...of course...because i am passing it as a get argument..it isn't actually passed to your service.

you should support post operations :)

bjschnei commented 13 years ago

sorry..to answer my own question...looks like you can url encode the href argumetn and all will work

...?href=urllib.quote(urlwithhash)

works fine