bbcode URL tag breaking URL's?

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
Maxburn
Registered User
Posts: 36
Joined: Fri Jan 05, 2018 1:44 pm

bbcode URL tag breaking URL's?

Post by Maxburn »

Not sure where to start with this one, see picture. On our forum the URL bbcode is adding extra stuff at the end and breaking the URL.

this nice
OK so that's interesting, it's doing it on THIS site too.

.
urlbroken.png
urlbrokenphpbb.png
Last edited by Maxburn on Thu Apr 02, 2020 2:21 pm, edited 2 times in total.
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: bbcode URL tag breaking URL's?

Post by 3Di »

https://www.citusdata.com/blog/2019/05/30/introducing-pg-auto-failover use this without the ending slash.
๐Ÿ†“ Free support for our extensions also provided here: phpBB Studio
๐Ÿš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ยบ PhpStorm's proud user ยบ Extensions, Scripts, MOD porting, Update/Upgrades
Maxburn
Registered User
Posts: 36
Joined: Fri Jan 05, 2018 1:44 pm

Re: bbcode URL tag breaking URL's?

Post by Maxburn »

3Di wrote: โ†‘Thu Apr 02, 2020 12:48 pm https://www.citusdata.com/blog/2019/05/30/introducing-pg-auto-failover use this without the ending slash.
Updated OP, but link still broken.
urlbrokenphpbbedt.png
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: bbcode URL tag breaking URL's?

Post by 3Di »

Please fill out a BUG report at the tracker, thanks. Your credentials from here can be used also over there.

https://tracker.phpbb.com/secure/Create ... fault.jspa
๐Ÿ†“ Free support for our extensions also provided here: phpBB Studio
๐Ÿš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ยบ PhpStorm's proud user ยบ Extensions, Scripts, MOD porting, Update/Upgrades
Maxburn
Registered User
Posts: 36
Joined: Fri Jan 05, 2018 1:44 pm

Re: bbcode URL tag breaking URL's?

Post by Maxburn »

Searching "%uFEFF" turns up some results like this below. Sounds like a bug in 3.3.0?

https://stackoverflow.com/questions/179 ... hon-string
Maxburn
Registered User
Posts: 36
Joined: Fri Jan 05, 2018 1:44 pm

Re: bbcode URL tag breaking URL's?

Post by Maxburn »

3Di wrote: โ†‘Thu Apr 02, 2020 1:40 pm Please fill out a BUG report at the tracker, thanks. Your credentials from here can be used also over there.

https://tracker.phpbb.com/secure/Create ... fault.jspa
Done. I've never filled out one of those before so hope it's everything they need.

https://tracker.phpbb.com/browse/PHPBB3-16422
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: bbcode URL tag breaking URL's?

Post by 3Di »

Oky thx. ;)
๐Ÿ†“ Free support for our extensions also provided here: phpBB Studio
๐Ÿš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ยบ PhpStorm's proud user ยบ Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
JoshyPHP
Code Contributor
Posts: 1284
Joined: Mon Jul 11, 2011 12:28 am

Re: bbcode URL tag breaking URL's?

Post by JoshyPHP »

U+FEFF is an invisible character. You copy/pasted it from somewhere. It's also present in your first post, that's why you see the same result here. You need to remove it from your URL. One way to do that is to edit your post, delete the r] part of the post then type it again manually without copy/pasting it from the source that added the U+FEFF character. Or depending on your browser, you may be able to position the cursor at the right of the ] the press the left arrow then press backspace and it will delete the invisible character. See below for the result.
Maxburn wrote: โ†‘Thu Apr 02, 2020 12:21 pm this nice
OK so that's interesting, it's doing it on THIS site too.
I wrote the library that handles markup in phpBB 3.2+.
Maxburn
Registered User
Posts: 36
Joined: Fri Jan 05, 2018 1:44 pm

Re: bbcode URL tag breaking URL's?

Post by Maxburn »

JoshyPHP wrote: โ†‘Thu Apr 02, 2020 2:11 pm U+FEFF is an invisible character. You copy/pasted it from somewhere.
This does seem to be the answer, I was able to delete it in the OP.

This seems to be related to nimbus notes, I was able to replicate the issue when highlighting and copying the URL from a note there. This is a surprise to me, I don't think I've ever encountered this before.

The real question; how should phpBB handle this? You know there's going to be people that have no idea what's wrong if they can't see it.
Post Reply

Return to โ€œ[3.3.x] Support Forumโ€