FAQ
Dear list,

I have created a url via uri_for that produces (hashref passed in):

http://myserver.com/blah/?username=first.last%2Bme%40gmail.com

so the + is escaped into %2B. Fine.

This param comes in via:

$c->stash->{username} = $c->req->param('username');

A warn on $c->req->param('username');

shows (as does the debug console via _server.pl and via Apache):

first.last me@gmail.com

as a + sign is a shortcut for space in a URL. The above is a valid e-mail
address which I need to cater for.

Any ideas on how to get the first.last+me@gmail.com into Catalyst without
the + getting turned into a space?

If it's not possible I can do a redesign of this part of the site.

Thanks,

Gavin.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 17 | next ›
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedSep 11, '07 at 2:04p
activeSep 13, '07 at 8:59a
posts17
users7
websitecatalystframework.org
irc#catalyst

People

Translate

site design / logo © 2021 Grokbase