Changeset 25

Show
Ignore:
Timestamp:
01/07/08 14:49:32 (6 years ago)
Author:
jesus
Message:

closes #11

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/Mungo/Request.pm

    r17 r25  
    7070  if(@params == 1) { 
    7171    # in mod_perl2 ->args is just a string 
    72     %qs = (map { (split /=/, $_, 2) } (split /&/, $params[0])); 
     72    %qs = map { s/\+/ /g; s/%([0-9a-f]{2})/chr(hex($1))/ige; } 
     73              (map { (split /=/, $_, 2) } (split /&/, $params[0])); 
    7374  } 
    7475  else {