URI:
       tfix 301 - blck - ephemeral pastebin/url shortener
  HTML git clone https://git.parazyd.org/blck
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 39625041fc4b648ee3df086c88c8f5fa88215ebf
   DIR parent d3400d02c80e71fcf144573c0690bc9ba8d55c7b
  HTML Author: parazyd <parazyd@dyne.org>
       Date:   Mon, 20 Mar 2017 03:32:44 +0100
       
       fix 301
       
       Diffstat:
         M blck.py                             |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/blck.py b/blck.py
       t@@ -27,7 +27,7 @@ def u(urlshort):
                return "could not find url\n"
        
            if "curl" not in flask.request.headers.get('User-Agent'):
       -        return flask.redirect(realurl, code=301)
       +        return flask.redirect(realurl.rstrip('\n'), code=301)
            else:
                return realurl