News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

URL parsing broken

Started by JRMBelgium, September 18, 2024, 03:02:34 PM

Previous topic - Next topic

JRMBelgium

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

JRMBelgium

#1
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

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

shawnb61

I couldn't reproduce this.  Sounds very familiar tho...

Click here to appeal!*

A question worth asking is born in experience & driven by necessity. - Fripp

Advertisement: