Last modified: 2014-01-30 20:15:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T61881, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59881 - PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in CoreParserFunctions.php on line 212
PHP Warning: htmlspecialchars() expects parameter 1 to be string, array give...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.23.0
All All
: Normal normal (vote)
: ---
Assigned To: Tony Thomas
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-09 20:13 UTC by Sam Reed (reedy)
Modified: 2014-01-30 20:15 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sam Reed (reedy) 2014-01-09 20:13:10 UTC
PHP Warning:  htmlspecialchars() expects parameter 1 to be string, array given in /usr/local/apache/common-local/php-1.23wmf9/includes/parser/CoreParserFunctions.php on line 212
Comment 1 Bawolff (Brian Wolff) 2014-01-10 21:08:24 UTC
Marking easy. localurle just needs to check the return type of self::urlFunction in the case where the title given is invalid.
Comment 2 db [inactive,noenotif] 2014-01-11 19:57:13 UTC
This can also be happen for fullurle (line 220)

See Gerrit change #104375
Comment 3 Gerrit Notification Bot 2014-01-12 07:20:40 UTC
Change 107017 had a related patch set uploaded by 01tonythomas:
Chagned return value of self::urlFunction from array to string

https://gerrit.wikimedia.org/r/107017
Comment 4 Gerrit Notification Bot 2014-01-30 19:31:33 UTC
Change 107017 merged by jenkins-bot:
Check for CoreParserFunction::urlFunction from array to boolean and return values accordingly to htmlspecialchars()

https://gerrit.wikimedia.org/r/107017

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links