Page MenuHomePhabricator

RunQuery encoding
Closed, ResolvedPublicBUG 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 - sorry for the long delay on this. Is this still an issue, with recent versions of Page Forms? The encoding now seems to be working fine.

I have PageForms 5.6 and it works well now. Thanks.

Yaron_Koren claimed this task.

That's great to hear! Thanks for getting back to me.