Page MenuHomePhabricator

RunQuery encoding
Open, Needs TriagePublicBUG REPORT

Description

After upgrading to SMW 3.0.2 and PageForms to 4.5.1, a problem with RunQuery encoding emerged. I have query form called "Vyhledávání osob". When I press "run" button, I get a page https://www.daelba.eu/arch/index.php?pfRunQueryFormName=Vyhledávání+osob&title=Speciální%3ARunQuery%2FVyhled%25C3%25A1v%25C3%25A1n%25C3%25AD_osob&Vyhledávání+osob[příjmení]=............&wpRunQuery=Vyhledat&pf_free_text= and an error: The requested page title contains invalid characters: "%C3". (MediaWiki:Title-invalid-characters)

When I correct the URL manually to https://www.daelba.eu/arch/index.php?pfRunQueryFormName=Vyhledávání+osob&title=Speciální%3ARunQuery%2FVyhledávání_osob&Vyhledávání+osob[příjmení]=............&wpRunQuery=Vyhledat&pf_free_text= , everything goes well.

So, there is probably an encoding problem in the part after title=Special:RunQuery

  • MW version: 1.31.0
  • PHP version: 7.2.19
  • MySQL version: 5.7.26
  • SMW version: 3.0.2
  • Page Forms version: 4.5.1

Event Timeline

daelba created this task.Jul 18 2019, 12:04 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 18 2019, 12:04 PM