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

Incorrectly formatted links in link fields #49

Open
kevincrafts opened this issue Jul 18, 2024 · 0 comments
Open

Incorrectly formatted links in link fields #49

kevincrafts opened this issue Jul 18, 2024 · 0 comments

Comments

@kevincrafts
Copy link
Member

I came across a site this morning that was showing a "The website encountered an unexpected error. Try again later.

InvalidArgumentException: The URI 'www.colorado.edu/studentgroups/dsb' is invalid. You must use a valid URI scheme. in Drupal\Core\Url::fromUri() (line 293 of /code/web/core/lib/Drupal/Core/Url.php).

Because the url didn't include the "https://" the page would not render.

Is there a way to check link fields for incorrectly formatted urls?

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