In T188171#4008780, @MarcoAurelio wrote:[...] https://meta.wikimedia.org/wiki/Special:CentralAuth/Drytime%$1600 gives Error 400
400 Bad Request nginx/1.13.6I don't know what Logstash might have kept for the error as I don't have access to it. Either what it causes the error there or we revert the rename and blacklist those weird characters. Your call :)
The CentralAuth link works with &target= parameter though. See https://meta.wikimedia.org/w/index.php?title=Special%3ACentralAuth&target=Drytime%25%241600
If the $ and % characters are converted, the page https://meta.wikimedia.org/wiki/Special:CentralAuth/Drytime%25%241600 also works well.
Description
Description
Related Objects
Related Objects
- Mentioned Here
- T188171: LocalRenameUserJob: escape '$' in replacement title
Event Timeline
Comment Actions
I think this is normal and correct. That is a bad request; the '%' should be URI-encoded to '%25'.
You can reproduce the 400 much more easily, with a '%' followed by anything other than 0-9, A-F and a-f, for example: https://en.wikipedia.org/wiki/%Z
I get the same results on my local testing wiki, with the server running Apache/2.4.18.
(Changing projects, this error is generated by the server software before it even reaches MediaWiki.)
If the incorrect "Special:CentralAuth/" link is generated by the software somewhere, that's a bug, but it seems that you manually constructed it.
Comment Actions
Hi @matmarex I think the URL got generated by the software somewhere. If you say that's a bug, let me review my logs from yesterday and I'll get back to this task. I think it was on the rename progress url, but I'm not sure. Looking onto this now.
Comment Actions
Per previous comment, this URL is invalid and it should give an error. If our software produces such URLs in links, that's a bug, but I'm 99% sure it doesn't.