[luci] [LuCI] #186: urlencode does not encode '+' properly

LuciTrac trac at luci.subsignal.org
Wed Jan 19 12:15:15 CET 2011


#186: urlencode does not encode '+' properly
----------------------+-----------------------------------------------------
 Reporter:  reporter  |        Type:  defect           
   Status:  new       |    Priority:  major            
Milestone:            |   Component:  LuCI Applications
 Keywords:            |  
----------------------+-----------------------------------------------------
 urlencode function in luci.http.protocol does not escape '+'

 a '+' in a post or get query means ' ' so

 urldecode(urlencode(s)) ~= s

 if s contains '+'

-- 
Ticket URL: <http://luci.subsignal.org/ticket/186>
LuCI <http://luci.subsignal.org>
LuCI - Lua Configuration Interface


More information about the luci mailing list