projects
/
hamn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64b3277
)
Encode URL
author
Magnus Hagander
<magnus@hagander.net>
Fri, 28 Jun 2019 17:07:01 +0000
(19:07 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Fri, 28 Jun 2019 17:07:01 +0000
(19:07 +0200)
redirector/redirector.py
patch
|
blob
|
blame
|
history
diff --git
a/redirector/redirector.py
b/redirector/redirector.py
index 6cce162bbc4e3ba009d167fff9a966fe58a04cc5..cdb2e718d4c6b2c469233e5d9b51bf9218c0230c 100755
(executable)
--- a/
redirector/redirector.py
+++ b/
redirector/redirector.py
@@
-63,7
+63,7
@@
def application(environ, start_response):
])
return [
b"<html>\n<head>\n<title>postgr.es</title>\n</head>\n<body>\n",
- b"<a href=\"%s\">moved here</a>\n" % r[0][0],
+ b"<a href=\"%s\">moved here</a>\n" % r[0][0]
.encode('utf8')
,
b"</body>\n</html>\n"
]
except Exception as ex: