What steps will reproduce the problem?
1. Publish doxygen documentation (html) under a project as documentation
2. Make search with keyword mysql. Search function makes a GET request with
query string (example index.html?mysql)
3. Server responds "Could not find documentation"
In Documentation plugin Xinc/Plugin/Repos/Api/Documentation.php in
_getDocumentationFile
REQUEST_URL contains GET query string, later on $query is used to find a
matching file. By replacing REQUEST_URL with REDIRECT_URL $query contains only
requested path without query string and finding a documentation file works.
Replace in
$query = urldecode($_SERVER['REQUEST_URL']);
with
$query = urldecode($_SERVER['REDIRECT_URL']);
Original issue reported on code.google.com by matti.t....@gmail.com on 8 Oct 2012 at 7:43
Original issue reported on code.google.com by
matti.t....@gmail.com
on 8 Oct 2012 at 7:43