Page MenuHomePhabricator

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

Description

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

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

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

Reason:
Already fixed

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

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