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

           Summary: Successful Login Results in a PHP error
           Product: MediaWiki extensions
           Version: any
          Platform: PC
               URL: http://wiki.montcopa.org/TestWiki
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: OpenID
        AssignedTo: [email protected]
        ReportedBy: [email protected]


PHP Notice:  Uninitialized string offset:  0 in \includes\WebRequest.php on
line 461

I can't figure out if this is an OpenID issue or MW, but 100% replicable (at
least using IIS/IE)

Problem is $_SERVER['REQUEST_URI'] is set, but value "" when it gets to
getRequestURL

Some Debug Information:

WebRequest::getRequestURL::REQUEST_URI:**
WebRequest::getRequestURL::SCRIPT_NAME:*/TestWiki/index.php*

BackTrace::(870) includes\SkinTemplate.php::getRequestURL args: 0
BackTrace::(490) includes\SkinTemplate.php::buildContentActionUrls args: 0
BackTrace::(1572) includes\OutputPage.php::outputPage args: 1
BackTrace::(376) includes\Wiki.php::output args: 0
BackTrace::(118) index.php::finalCleanup args: 2

Could definitely fix this by patching MW to on line 439 to:

if( isset( $_SERVER['REQUEST_URI'] ) && strlen($_SERVER['REQUEST_URI'] )) {

But I'm wondering if this might result from an anomaly further back in the
OpenID extension.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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