Closed Bug 918393 Opened 12 years ago Closed 12 years ago

Characters should be preserved when asking a question.

Categories

(support.mozilla.org :: Knowledge Base Software, task, P2)

Tracking

(Not tracked)

RESOLVED FIXED
2013Q3

People

(Reporter: atopal, Unassigned)

References

Details

(Whiteboard: u=user c=questions p=1 s=2013.19)

Certain characters in the title of a question are escaped when the question is posted to the forum. This is true for the apostrophe. ' -> %27 but also for non-ascii characters like ö --> %C3%B6. those characters should not be escaped.
This _only_ happens for users that are using the fallback persona auth provider and they click on the link in their email to confirm the persona account. Is that right Kadir?
Flags: needinfo?(a.topal)
Making this 1pt for the research into it. Looks like we have to sit and wait for persona to fix it.
Whiteboard: u=user c=questions p= s=2013.19 → u=user c=questions p=1 s=2013.19
Yeah, using gmail there is no problem. Unfortunately only 1/3 of our newly registering users are Gmail users. We can tolerate this for a while on the en-US forums and correct titles manually, but it might be a show stopper for Portuguese. Almost all questions have non ascii characters in them. Their titles would be almost unreadable with this bug.
Flags: needinfo?(a.topal)
Is there any workaround, that we could employ in the meantime, Ricky?
Flags: needinfo?(rrosario)
There is nothing we can do for this, it all happens in the persona code.
Flags: needinfo?(rrosario)
(In reply to Ricky Rosario [:rrosario, :r1cky] from comment #7) > There is nothing we can do for this, it all happens in the persona code. Actually, there is. If we `decodeURI` the URL before passing it to `navigator.id.request()`, everything works out. Landed workaround on master: https://github.com/mozilla/kitsune/commit/01ccf094d85de87722e0f69ab611248ce7bdc0c3
Deployed to prod, but it only affects stage right now.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.