summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/http/protocol.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-11-26 23:23:15 +0100
committerJo-Philipp Wich <jow@openwrt.org>2015-11-26 23:23:15 +0100
commitc123fa86b02f7e9ecd7d474a03359628b444bd1d (patch)
treecaf4f49f1dbd55a4daef1737e34d1f45c2e1733d /modules/luci-base/luasrc/http/protocol.lua
parentce04adb38392c07420c30e67b1bb010ee1e0145f (diff)
parentcbf45fe563ab2ded120a5d5184e8c7207aa9b995 (diff)
Merge pull request #534 from yousong/add-luci-proto-pppossh
Add luci proto pppossh
Diffstat (limited to 'modules/luci-base/luasrc/http/protocol.lua')
-rw-r--r--modules/luci-base/luasrc/http/protocol.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/luasrc/http/protocol.lua b/modules/luci-base/luasrc/http/protocol.lua
index 859272679..0cb62aeec 100644
--- a/modules/luci-base/luasrc/http/protocol.lua
+++ b/modules/luci-base/luasrc/http/protocol.lua
@@ -72,7 +72,7 @@ function urlencode( str )
if type(str) == "string" then
str = str:gsub(
- "([^a-zA-Z0-9$_%-%.!*'(),])",
+ "([^a-zA-Z0-9$_%-%.%~])",
__chrenc
)
end