Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: JRMBelgium on September 18, 2024, 03:02:34 PM

Title: URL parsing broken
Post by: JRMBelgium on September 18, 2024, 03:02:34 PM
This code:
[url="https://alliancemultigaming.com/forum/index.php?action=form;n=2"]Click here to appeal!*[/url]
Results in this actual output:
https://"https//alliancemultigaming.com/forum/index.php?action=form;n=2%22
I have no idea what can cause this. Especially since this also occurs on some portal blocks, and not on others.
Is there an "easy" way to debug whatever is causing this re-writing of the url?

You can visit the actual page here:
https://alliancemultigaming.com/forum/index.php?topic=2847.0
Title: Re: URL parsing broken
Post by: JRMBelgium on September 18, 2024, 03:13:13 PM
Ok, to make it even weirder. If I add the same code again, the second link does work. But, when I make some changes to the text, both links are broken. I'm leaving the topic "as is" for you guys to see.

And look how the URL tag gets parsed in the news.

So 3 times the exact same input, results in a working url with correct formatting, a broken url with incorrect formatting and a broken url with [url] in the visible text.  :o  :o  :o  :o
Title: Re: URL parsing broken
Post by: Kindred on September 18, 2024, 08:18:20 PM
Mods installed?
Title: Re: URL parsing broken
Post by: shawnb61 on September 18, 2024, 08:29:32 PM
I couldn't reproduce this.  Sounds very familiar tho...

Click here to appeal!* (https://alliancemultigaming.com/forum/index.php?action=form;n=2)