summaryrefslogtreecommitdiffstats
path: root/helpers/path_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-01-07 19:29:20 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-01-07 19:29:20 +0100
commitbc06135c96aa4db6fe36a4fc4f19a18fa1cb8935 (patch)
tree23fb7f21eae0af04b03185f3ddb65eb0e49f8827 /helpers/path_test.go
parent45e3ed517a17648d54e8ce33618a8f251cfec603 (diff)
helpers: Allow tilde in URLs
See #2177
Diffstat (limited to 'helpers/path_test.go')
-rw-r--r--helpers/path_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/helpers/path_test.go b/helpers/path_test.go
index 049499108..f1407fb15 100644
--- a/helpers/path_test.go
+++ b/helpers/path_test.go
@@ -58,6 +58,8 @@ func TestMakePath(t *testing.T) {
{"संस्कृत", "संस्कृत", false},
{"a%C3%B1ame", "a%C3%B1ame", false}, // Issue #1292
{"this+is+a+test", "this+is+a+test", false}, // Issue #1290
+ {"~foo", "~foo", false}, // Issue #2177
+
}
for _, test := range tests {