Wednesday, July 2, 2014

Re: Plus sign (+) in url parameter

Cake's ::url() does that for you if you use it properly

mark


Am Dienstag, 1. Juli 2014 17:49:24 UTC+2 schrieb David Montaño Ramírez:
Hi

I'm working in project that requires that a URL parameter containing a plus sign (+) to be passed as an argument to the action. The problem is that the + is replaced by a space. The question is: CakePHP is designed to work like that or might be a bug?

Additional Information:

CakePHP Version: 2.5.1
Default routing for the controller
The argument is an email like name+so...@example.com

Thanks.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: