diff options
author | Simon Ser <contact@emersion.fr> | 2019-12-03 17:31:53 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-12-03 17:31:53 +0100 |
commit | a4729060bedd45481726861c491d5061e90ffefa (patch) | |
tree | d9ee85915912c2186162e5ae737f89d3a5751549 /public/message.html | |
parent | 48d6d5d227a4d55d80f9f2a74c1242cafafab7ab (diff) | |
download | alps-a4729060bedd45481726861c491d5061e90ffefa.tar.gz alps-a4729060bedd45481726861c491d5061e90ffefa.zip |
Escape mailbox names in URLs
Closes: https://todo.sr.ht/~sircmpwn/koushin/14
Diffstat (limited to 'public/message.html')
-rw-r--r-- | public/message.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/message.html b/public/message.html index cb9518b..fc97bf4 100644 --- a/public/message.html +++ b/public/message.html @@ -3,7 +3,7 @@ <h1>koushin</h1> <p> - <a href="/mailbox/{{.Mailbox.Name}}">Back</a> + <a href="/mailbox/{{.Mailbox.Name | pathescape}}">Back</a> </p> <h2>{{.Message.Envelope.Subject}}</h2> |