View Single Post
Old 11-01-2017, 07:29 PM  
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,097
Quote:
Originally Posted by PamWinterReturns View Post
Filling out an online form which asked for the postback URL


URL not found: http://www.blahblah.site\thankyou.html, Invalid URI: The hostname could not be parsed


Two other fields ask for 404 and thank-you URLs. I put the same page as thank you as I haven’t set up the site. How do I get around this error?
It might be having trouble with you using the backslash instead of the front slash in your url.

http://www.blahblah.site\thankyou.html should be http://www.blahblah.site/thankyou.html

The backslash can act as an escape character and php could read that as \t or a tab character

This is a test using the parse_url function in php.

Code:
Start of test.

Url to parse=http://www.blahblah.site\thankyou.html
Host= www.blahblah.site_hankyou.html

Url to parse=http://www.blahblah.site/thankyou.html
Host= www.blahblah.site

End of test.
.
__________________
All cookies cleared!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote