Re: [fw-general] spaces in url with Zend_http
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Benjamin Eberlei wrote on 22.09.2009 21:44: On Tuesday 22 September 2009 09:38:37 pm Derk wrote: Hello, Is it true that Zend_Http can't deal with spaces in the uri? I got some exceptions with the message ... is not a valid HTTP path. I know spaces in urls are not valid, but a site serves some redirects with spaces in the location. Firefox and IE don't have a problem with it, they do maybe some encoding self. valid issue that you are getting this from other sites header locations. I will file an issue for this problem and discuss it with the maintainer :-) greets, Benjamin It's a Zend_Uri issue, and already exists. Zend_Uri simply needs to be able to do the magic usual browsers does. - -- ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ : ::: : Web: http://www.dasprids.de : : E-mail : m...@dasprids.de : : Jabber : jab...@dasprids.de : : ICQ: 105677955 : ::: -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkq6bpwACgkQ0HfT5Ws789Ab0ACfQXvLaiEl/E5FTzfBaGtC3tmk k/QAniwWpTzy/ZwJ3R3I0kVh+J2i81jk =oVdG -END PGP SIGNATURE-
Re: [fw-general] spaces in url with Zend_http
Hi, Spaces are indeed not a valid uri so an exception is thrown. If you encode your spaces to %20, it will probably work (so if a site does a redirect to an uri with spaces, follow the uri with the spaces encoded). Regards, Jurian -- Jurian Sluiman Soflomo.com Op Tuesday 22 September 2009 21:38:37 schreef Derk: Hello, Is it true that Zend_Http can't deal with spaces in the uri? I got some exceptions with the message ... is not a valid HTTP path. I know spaces in urls are not valid, but a site serves some redirects with spaces in the location. Firefox and IE don't have a problem with it, they do maybe some encoding self. signature.asc Description: This is a digitally signed message part.
Re: [fw-general] spaces in url with Zend_http
On Tuesday 22 September 2009 09:38:37 pm Derk wrote: Hello, Is it true that Zend_Http can't deal with spaces in the uri? I got some exceptions with the message ... is not a valid HTTP path. I know spaces in urls are not valid, but a site serves some redirects with spaces in the location. Firefox and IE don't have a problem with it, they do maybe some encoding self. valid issue that you are getting this from other sites header locations. I will file an issue for this problem and discuss it with the maintainer :-) greets, Benjamin -- Benjamin Eberlei http://www.beberlei.de