Page MenuHomePhabricator

ampersand in page title causes broken page
Closed, InvalidPublic

Description

Author: spambox

Description:
Creating and linking to a page with an ampersand in the title causes unexpected
results. A red link to such a page allows editing, but as soon as the page is
saved the "There is currently no text in this page, you can search for this page
title in other pages or edit this page." template is displayed and the page
title is displayed truncated at the ampersand.

The same brokenness results when following a link to said page -- the page title
being displayed is truncated at the ampersand and nothing is displayed.


Version: 1.7.x
Severity: major
URL: http://bbswiki.evernex.com/wiki/Test_%26_stuff

Details

Reference
bz7426

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:23 PM
bzimport set Reference to bz7426.
bzimport added a subscriber: Unknown Object (MLST).

spambox wrote:

Output of Special:Version from the wiki where this is happening --
http://www.umasswiki.com/ -- I have also tested this on a wiki with fewer
extensions running 1.7.1 on the same webhost.

  • MediaWiki: 1.7.1
  • PHP: 5.1.2 (cgi-fcgi)
  • MySQL: 4.1.14-Debian_5-log
  • Extensions: o Other: + Bad Behavior (version 2.0.6), Detects and blocks unwanted Web

accesses, by Michael Hampton

      + SpamBlacklist by Tim Starling 
o Extension functions:
      + bb2_mediawiki_entry, ceSetup, wfassExtension and

wfNamespacePermissions

      o Parser extension tags:
            + <adsensesearch> and <pre> 
* Hooks:
      o AbortNewAccount: (SimpleCaptcha, confirmUserCreate)
      o EditFilter: (SimpleCaptcha, confirmEdit)
      o ParserAfterTidy: bb2_mediawiki_timer
      o UserCreateForm: (SimpleCaptcha, injectUserCreate)
      o userCan: namespacePermissionsCheckNamespace

You have bad mod_rewrite rules. Use an alias instead of rewrite for best
compatibility, or patch Apache; see the patch in maintenance/.