Page MenuHomePhabricator

Extension is double-encoding input from field
Closed, ResolvedPublic1 Estimated Story Points

Description

<Krenair> so I tried to generate a citation from "PMCID: PMC2000773" on beta
[...]
<Krenair> so as I said it goes to https://citoid.wikimedia.org/api?action=query&format=mediawiki&search=PMCID%3A%2520PMC2000773
<Krenair> take a look at the result
<Krenair> >>> decodeURIComponent( "PMCID%3A%2520PMC2000773" )
<ecmabot-wm> Krenair: (string) 'PMCID:%20PMC2000773'
<Krenair> check https://citoid.wikimedia.org/api?action=query&format=mediawiki&search=PMCID:%20PMC2000773

First URL does not return anything particularly useful, second one is OK.

Event Timeline

Krenair raised the priority of this task from to Needs Triage.
Krenair updated the task description. (Show Details)
Krenair added a project: Citoid.
Krenair added a subscriber: Krenair.
Mvolz renamed this task from Some queries fail due to double encoding to Extension is double-encoding input from field.Jun 9 2015, 1:10 PM
Mvolz moved this task from Backlog to Extension on the Citoid board.
Mvolz set Security to None.
Mvolz triaged this task as Unbreak Now! priority.Jun 9 2015, 1:16 PM

Change 216972 merged by jenkins-bot:
Remove double-encoding of search input

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