Page MenuHomePhabricator

Get request with body parameter get lost in internal redirect for latest version
Closed, ResolvedPublic

Description

The body parameter is respected for both POST and GET eventhough the API says it is only for POST

But this parameter is now useful only if you know the oldid. While requesting HTML for latest revision without oldid, like:
http://parsoid-lb.eqiad.wikimedia.org/enwiki/Who_Wants_to_Be_a_Superhero%3F?body=1
It get redirected to
http://parsoid-lb.eqiad.wikimedia.org/enwiki/Who_Wants_to_Be_a_Superhero%3F?oldid=651259373 without keeping the body parameter

Context: https://gerrit.wikimedia.org/r/#/c/201095/

Event Timeline

santhosh raised the priority of this task from to Needs Triage.
santhosh updated the task description. (Show Details)
santhosh added a project: Parsoid-Web-API.
santhosh added subscribers: santhosh, ssastry.
Arlolra triaged this task as Medium priority.

Change 201245 had a related patch set uploaded (by Santhosh):
Preserve querystring params while redirecting

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

Change 201245 merged by jenkins-bot:
Preserve querystring params while redirecting

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