XF 1.2 Valid URLs with anchors returning 404


Well-known member
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
This is the response I get in my tests:
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


Well-known member
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.