You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I came across an issue with Ajax requests handled by mod_perl yesterday that may need to be addressed. Currently, toQueryPair returns only the key if the value is undefined. This can result in a query string along the lines of key1=value1&key2=value2&key3&key4=value4 being interpreted as ('key1' => 'value1', 'key2' => 'value2', 'key3&key4' => 'value4'). Simply adding an equal sign remedies the problem -- key1=value1&key2=value2&key3=&key4=value4 is interpreted as ('key1' => 'value1', 'key2' => 'value2', 'key3' => '', 'key4' => 'value4')
The text was updated successfully, but these errors were encountered:
I came across an issue with Ajax requests handled by mod_perl yesterday that may need to be addressed. Currently, toQueryPair returns only the key if the value is undefined. This can result in a query string along the lines of
key1=value1&key2=value2&key3&key4=value4
being interpreted as('key1' => 'value1', 'key2' => 'value2', 'key3&key4' => 'value4')
. Simply adding an equal sign remedies the problem --key1=value1&key2=value2&key3=&key4=value4
is interpreted as('key1' => 'value1', 'key2' => 'value2', 'key3' => '', 'key4' => 'value4')
The text was updated successfully, but these errors were encountered: