jayvdb added a subscriber: jayvdb.
jayvdb added a comment.

Another bug caused by https://phabricator.wikimedia.org/T85321.  Sorry ;-(

The problem is Request has already encoded the parameters to bytes using the 
site encoding, whereas `BaseSite.urlEncode` hasnt.
We could add encoding to `BaseSite.urlEncode` (and remove it from encode_url as 
@Mpaa has done)

I have two other possible approaches to 'fix' it

https://github.com/jayvdb/pywikibot-core/commit/f5a8d8d3
https://github.com/jayvdb/pywikibot-core/commit/fb1cc5ca0


TASK DETAIL
  https://phabricator.wikimedia.org/T121318

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: jayvdb, gerritbot, Aklapper, StudiesWorld, pywikibot-bugs-list, Mpaa



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to