https://bugzilla.wikimedia.org/show_bug.cgi?id=32486

       Web browser: ---
             Bug #: 32486
           Summary: WebRequest::getPathInfo() broken in img_auth.php on
                    DreamHost
           Product: MediaWiki
           Version: 1.19-svn
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: Unprioritized
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


In img_auth.php, $path is being set to a value that includes 'img_auth.php' at
the beginning of it.

Setting $path = $_SERVER['PATH_INFO']; fixed the problem and made everything
work correctly, but it appears that somehow what is being returned in
WebRequest::getPathInfo() and stored in $matches['title'] includes the script
filename at the beginning.

This issue happens on a DreamHost shared server.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to