Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BBcode [url]www.example.com[/url] generates invalid link #374

Open
battye opened this issue Sep 23, 2023 · 0 comments
Open

BBcode [url]www.example.com[/url] generates invalid link #374

battye opened this issue Sep 23, 2023 · 0 comments

Comments

@battye
Copy link
Member

battye commented Sep 23, 2023

If the http:// or https:// prefix isn't included and the link is surrounded by [url]...[/url], the rendered link is incorrect.
CORRECT (no BBcode):

www.example.com

INCORRECT (includes [url] BBcode):

[url]www.example.com[/url]

For example, posting the latter markup on phpbb.com produces this target:

https://www.phpbb.com/community/www.example.com

The correct target is generated if the https prefix is included.

Reporter: HB
Created: 27/Nov/22 9:49 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant