Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328792

Summary: Encoded character in settings are duplicated
Product: Community Reporter: Aurelien Pupier <apupier>
Component: Forums and NewsgroupsAssignee: Forums and Newsgroups inbox <forums-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: webmaster
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Bug Depends on: 292374    
Bug Blocks:    

Description Aurelien Pupier CLA 2010-10-27 03:02:25 EDT
Build Identifier: 

In settings of the user,
if you put for instance:
"R&D Engineer" in the field occupation, the '&' is encodded as "&amp;" and each time you login I think that the the & is reencoded so you will have "R&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;D Engineer"

Reproducible: Always
Comment 1 Denis Roy CLA 2011-04-13 14:31:37 EDT
This is fixed in the latest version of the forum, which I am preparing for deployment.
Comment 2 Aurelien Pupier CLA 2011-04-13 15:38:37 EDT
(In reply to comment #1)
> This is fixed in the latest version of the forum, which I am preparing for
> deployment.

perfect :)
Comment 3 Denis Roy CLA 2011-05-09 16:12:09 EDT
Looks fixed to me now.
Comment 4 Aurelien Pupier CLA 2011-05-09 21:52:56 EDT
(In reply to comment #3)
> Looks fixed to me now.

for me too :)
Thank you
Comment 5 Aurelien Pupier CLA 2011-05-09 22:03:15 EDT
(In reply to comment #4)
> (In reply to comment #3)
> > Looks fixed to me now.
> 
> for me too :)
> Thank you

ouch in fact not.
I didn't read my big report carefully.
There is still the same issue when login/logout/login.
If I just navigate between page of the forum and come back to Control panel without logout/login it works.

So this happens only on logout/login.
Comment 6 Denis Roy CLA 2011-05-11 16:50:58 EDT
> So this happens only on logout/login.

Indeed -- I've located the problem in our custom login plugin.  We attempt to refresh the local Forum account with the latest name and email address from Bugzilla.  I just need to find the best way to decode those encoded characters.
Comment 7 Denis Roy CLA 2011-05-12 14:31:35 EDT
Ok, this is fixed for real now.  Since the browser was decoding the HTML entities naturally, there was no API for doing it in the forum code.  I added my own.
Comment 8 Aurelien Pupier CLA 2011-05-12 21:06:31 EDT
Ok, it seems really fixed now ^^

thank you