Last modified: 2012-04-16 09:15:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T28604, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26604 - The character "+" of titles should be escaped when added to "returnto" URL parameter
The character "+" of titles should be escaped when added to "returnto" URL pa...
Status: RESOLVED DUPLICATE of bug 26603
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-06 10:11 UTC by Helder
Modified: 2012-04-16 09:15 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Helder 2011-01-06 10:11:36 UTC
I just noticed a small bug: sometimes the "+" which are part of the title of a page are not being escaped when added to "returnto" paramter in URL. This should be fixed, so that the user is redirected to the correct page after login.

Here are the steps I followed to get the error:
----
I was at this page:
http://pt.wikibooks.org/w/index.php?title=Discuss%C3%A3o:Programar_em_C%2B%2B&action=edit&oldid=202181

Then I clicked in logout:
http://pt.wikibooks.org/w/index.php?title=Especial:Sair&returnto=Discuss%C3%A3o:Programar_em_C%2B%2B&returntoquery=action%3Dedit%26oldid%3D202181

And then login:
http://pt.wikibooks.org/w/index.php?title=Especial:Entrar&returnto=Discuss%C3%A3o:Programar_em_C++

After login, the URL was:
http://pt.wikibooks.org/w/index.php?title=Especial:Entrar&action=submitlogin&type=login&returnto=Discuss%C3%A3o:Programar_em_C++

and the target page was:
http://pt.wikibooks.org/wiki/Discuss%C3%A3o:Programar_em_C

instead of
http://pt.wikibooks.org/wiki/Discuss%C3%A3o:Programar_em_C%2B%2B
----
Comment 1 Roan Kattouw 2011-01-06 10:28:17 UTC

*** This bug has been marked as a duplicate of bug 26603 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links