Page 1 of 3

Forum parser BUG - URL's not encoding correctly

Posted: Mon Jul 07, 2014 4:25 am
by c۞g
Take this URL

Code: Select all

http://support.clean-mx.de/clean-mx/viruses.php?sort=firstseen%20desc&domain=atwebpages.com

paste it as text:
http://support.clean-mx.de/clean-mx/viruses.php?sort=firstseen%20desc&domain=atwebpages.com

or wrap it with the <a> tag
[url=http://support.clean-mx.de/clean-mx/viruses.php?sort=firstseen%20desc&domain=atwebpages.com t=_self]link[/url]

Notice how the parser changes the ampersand from
&domain
to
&domain


RE: Forum parser BUG - URL's not encoding correctly

Posted: Mon Jul 07, 2014 5:04 pm
by th3br41n
Actually, the change from &domain to &domain is correct; the real bug is that the parser converts &domain to &amp;domain (see the page source), that is clearly wrong.

RE: Forum parser BUG - URL's not encoding correctly

Posted: Tue Jul 08, 2014 8:23 am
by donsorg
Thanks for the bug report. Investigating the issue.

RE: Forum parser BUG - URL's not encoding correctly

Posted: Tue Jul 08, 2014 9:43 am
by c۞g
<quote user="th3br41n">
Actually, the change from &domain to &domain is correct; the real bug is that the parser converts &domain to &amp;domain (see the page source), that is clearly wrong.
[/quote]
I coded the post that way on purpose for visual effect...
Pay attention to the provided links; mouse-over

RE: Forum parser BUG - URL's not encoding correctly

Posted: Tue Jul 08, 2014 5:21 pm
by Guest
"mouse-over"
ROFL , well it seems to be a funny response to th3br41n :)

RE: Forum parser BUG - URL's not encoding correctly

Posted: Fri Jul 11, 2014 9:02 am
by c۞g
Link test (2):
http://support.clean-mx.de/clean-mx/viruses.php?sort=firstseen%20desc&domain=atwebpages.com

It appears the parsing BUG is still present ...

RE: Forum parser BUG - URL's not encoding correctly

Posted: Fri Jul 11, 2014 7:36 pm
by NotBuyingIt
Work-around: Until the parsers are tweaked, either follow the guildeline about no live live links without exception or use the entity &#38; to represent the ampersand.

Code: Select all

http://support.clean-mx.de/clean-mx/viruses.php?sort=firstseen%20desc<strong>&</strong><strong>#38;</strong>domain=atwebpages.com


http://support.clean-mx.de/clean-mx/viruses.php?sort=firstseen%20desc&domain=atwebpages.com

(Using the alternative entity is less desirable because even if a URL containing it works now, the identical URL may fail should the parsers be updated.)

RE: Forum parser BUG - URL's not encoding correctly

Posted: Sat Jul 12, 2014 8:35 am
by c۞g
<quote user="notbuyingit">
(Using the alternative entity is less desirable because even if a URL containing it works now, the identical URL may fail should the parsers be updated.)[/quote]
Exactly, which is why when the parser had been working correctly and something changed to cause it to brek it should be "fixed" rather than trying to code a work-around.

Donsorg is part-time.
Timo has always been in charge of the forum and it's coding.
Timo hasn't responded to this thread from either Support (contact form) or through notification on his user board.
Maybe Timo is part-time as well?



RE: Forum parser BUG - URL's not encoding correctly

Posted: Sat Jul 12, 2014 6:32 pm
by donsorg
Our developer is working on this issue. It's just July in Finland – whole country is on vacation and nobody works. Streets are empty like in the movie "[url=http://www.imdb.com/title/tt0289043/ t=_self]28 Days Later[/url]". This is summer Finland :)

OT - was RE: Forum parser BUG - URL's not encoding correctly

Posted: Sat Jul 12, 2014 7:03 pm
by Guest
<quote user="donsorg">
Our developer is working on this issue. It's just July in Finland – whole country is on vacation and nobody works. Streets are empty like in the movie "[url=http://www.imdb.com/title/tt0289043/ t=_self]28 Days Later[/url]". This is summer Finland :)
[/quote]


Sorry for being OT.
Does Maavoimat (Finnish Army) and Police stop working for three months as well?:-)
Sorry I could not resist.

The Italian Armed Forces cannot even go on strike