Yahoo search + no rewriting = broken archive links
Posted: Sat Jun 09, 2007 1:32 am
When a link in the Yahoo search results points to a single entry on an s9y install with rewriting set to 'None', the slashes in the archive path are URL-encoded. That is, $_SERVER['QUERY_STRING'] contains '%2Farchive%2F42-the-entry-title-etc.html'.
However, the bundled Net_URL library doesn't convert the '%2F' sequences back into '/' characters, so s9y proceeds to display the current index (as if no query string were present) instead of the entry Yahoo so carefully linked to.
This bug was observed on 1.1.2 and is still present in 1.2-beta1.
However, the bundled Net_URL library doesn't convert the '%2F' sequences back into '/' characters, so s9y proceeds to display the current index (as if no query string were present) instead of the entry Yahoo so carefully linked to.
This bug was observed on 1.1.2 and is still present in 1.2-beta1.