diff options
author | chrongzhang <chrongzhang@tencent.com> | 2015-09-01 20:53:25 +0800 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2015-09-01 15:26:02 +0200 |
commit | 52d94fa67578f6b63035e73b236ca8abd40d0006 (patch) | |
tree | a91a2c1ee95ec979e9d7e92054f4f1cfd712040a /helpers/url.go | |
parent | 49fe04c0bd8111bf686d9205d543f8651ea24cfc (diff) |
Add config option "disablePathToLower"
Enabling this prevents lowercasing of the path/url.
Fixes #557
Diffstat (limited to 'helpers/url.go')
-rw-r--r-- | helpers/url.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/url.go b/helpers/url.go index 415f11b74..c3365d0b8 100644 --- a/helpers/url.go +++ b/helpers/url.go @@ -102,7 +102,7 @@ func SanitizeURLKeepTrailingSlash(in string) string { // uri: Vim (text editor) // urlize: vim-text-editor func URLize(uri string) string { - sanitized := MakePathToLower(uri) + sanitized := MakePathSanitized(uri) // escape unicode letters parsedUri, err := url.Parse(sanitized) |