Jump to content

Bug Report: New Url Rewrite Rules Fails With 'php' In Topic Title.


Recommended Posts

Just discovered what I'm pretty sure is a bug with the new URL rewrite rules:

http://forums.phpfreaks.com/topic/268690-problem-in-connecting-to-sql-server-2008-by-php/unread/

 

That link gives me the default ngnix 404 page, as pasted below. Even I try to remove the /unread/ part it still shows the below 404 error, and if I try to remove the -php bit the script identifies the correct thread, and redirects me to the above URL anyway. If I remove the entire title, and leave only the topid ID, I get the forum "Can't find this thread" message.

 

Considering that the keyword seems to be the "php" at the end of the title, I suspect an incorrect quantifier or faulty boundary check.

 

<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>

Edited by Christian F.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.