Cookie values are url escaped, which means that spaces are replaced with the +
character and other punctuation marks are replaced with %xx
codes. The CGI::Cookie::fetch
method decodes the value, and the spaces in your cookie value are restored.
You can use the raw_fetch
method if you don't want the cookie values to be decoded.