• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Valid URLs with anchors returning 404

Jeremy

Well-known member
#2
The tool probably can't handle the anchor properly. As long as you can navigate to it without issue, there is no issue.
 

Chris D

XenForo developer
Staff member
#3
This is the response I get in my tests:
Code:
HTTP/1.1 200 OK
Date: Wed, 15 Jan 2014 20:44:29 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-control: private, max-age=0
X-Frame-Options: SAMEORIGIN
Last-Modified: Wed, 15 Jan 2014 20:44:29 GMT
Content-Encoding: gzip
Vary: Accept-Encoding
Content-Length: 22264
Connection: close
Content-Type: text/html; charset=UTF-8
 

Jeremy

Well-known member
#4
Thank you, Jeremy and Chris.
I'm using cURL in my add-on and it also shows a 404 when an anchor is included. What I have done is remove the anchor before sending it to cURL.
Its an internal issue with cURL, a simple Google search shows that.