jrhone/Shorten — comment on commit 53a6a6a3f8ef09b49237bcfd73e6b8b8eae3c8a1
File: shorten_flask.py line 43
By jrhone:

If the long_url is "www.google.com" instead of "http://www.google.com",
redirect() will make a relative redirect instead of an absolute one.

On Thu, Mar 1, 2012 at 6:35 AM, Dhruvkaran Mehta <
reply@reply.github.com
> wrote:

> I'm a little confused as to why you're adding the // if there is no scheme.
>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/jrhone/Shorten/commit/53a6a6a3f8ef09b49237bcfd73e6b8b8eae3c8a1#commitcomment-1031371
>