Symfony-docs: Bad link for The Debug Component

Created on 27 Nov 2019  路  4Comments  路  Source: symfony/symfony-docs

Hi,

I've just tried to search for symfony/debug in Google.
First answer is the Symfony official documentation, with this link: https://symfony.com/doc/current/components/debug.html (seems ok).

But when I click on it, I'm redirected to https://symfony.com/doc/current/https://github.com/symfony/debug.html (seems wrong :p)

I don't know if I can fix it by a PR or not ?

Needs Review Website bug

Most helpful comment

Good catch! We allowed redirections to https://symfony.com/... but not to GitHub. We've just fixed this and will be online soon after the next deploy. Thank you!

All 4 comments

Yeah - looks like redirection_map doesn't allow for absolute url https://github.com/symfony/symfony-docs/blob/master/_build/redirection_map#L477

@javiereguiluz can you please check this?

Good catch! We allowed redirections to https://symfony.com/... but not to GitHub. We've just fixed this and will be online soon after the next deploy. Thank you!

Thanks for the fix!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

javiereguiluz picture javiereguiluz  路  3Comments

javiereguiluz picture javiereguiluz  路  4Comments

javiereguiluz picture javiereguiluz  路  3Comments

wiser picture wiser  路  3Comments

bobvandevijver picture bobvandevijver  路  4Comments