Page MenuHomePhabricator

Double encoding of "title" parameter
Open, Needs TriagePublicBUG REPORT


On Special:RunQuery, a "title" hidden field is included in the form, containing the page title.

This field, contains URL-encoded value, which, when re-submitting the page, will get double encoded in the URL, causing a BadTitle redirect.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 28 2020, 11:05 AM

Submitted a patch with the proposed fix

Change 567877 had a related patch set uploaded (by Ammarpad; owner: ItSpiderman):
[mediawiki/extensions/PageForms@master] Fix double escaping of "title" parameter

Change 567877 abandoned by ItSpiderman:
Fix double escaping of "title" parameter

Already fixed

This is only presetnt in version 4.6, not in any of the current branches