projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
luci-base: urlencode: encode all except unreserved characters.
[project/luci.git]
/
modules
/
luci-base
/
luasrc
/
http
/
protocol.lua
diff --git
a/modules/luci-base/luasrc/http/protocol.lua
b/modules/luci-base/luasrc/http/protocol.lua
index
8592726
..
0cb62ae
100644
(file)
--- 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