mirror of
https://github.com/mistergibson/gxg-server.git
synced 2026-08-15 02:15:59 -07:00
uri-unescape bug fix 5
This commit is contained in:
parent
b5e93634cd
commit
debc4bddd2
1 changed files with 6 additions and 1 deletions
|
|
@ -849,7 +849,12 @@ module GxGwww
|
||||||
#
|
#
|
||||||
operations = []
|
operations = []
|
||||||
the_parser = URI::Parser.new
|
the_parser = URI::Parser.new
|
||||||
triple_parse = Proc.new {|the_string| the_parser.unescape(the_parser.unescape(the_parser.unescape(the_parser.unescape(the_string))))}
|
# %22
|
||||||
|
triple_parse = Proc.new {|the_string|
|
||||||
|
while the_string.include?("%22")
|
||||||
|
the_string = the_parser.unescape(the_string)
|
||||||
|
end
|
||||||
|
}
|
||||||
case the_method
|
case the_method
|
||||||
when :get
|
when :get
|
||||||
if the_request.params["details"].to_s.size > 0
|
if the_request.params["details"].to_s.size > 0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue