Bug ID: 63424
           Summary: Resolve "wrong and broken code" that's invoking
           Product: MediaWiki
           Version: 1.23-git
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
       Web browser: ---
   Mobile Platform: ---

The comments to Title::newFromURL read, in part:

   * Example of wrong and broken code:
   * $title = Title::newFromURL( $wgRequest->getVal( 'title' ) );
   * Example of right code:
   * $title = Title::newFromText( $wgRequest->getVal( 'title' ) );

If that's accurate, then there's some code that needs fixing. Otherwise, this
comment is misleading and needs correcting and/or further/clearer qualification
as to when newFromURL may/should/must be used in favor of newFromText() and the
related risks, if any.

The core source files that have "wrong and broken code" are:


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

Reply via email to