You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If Uri validation fails at this line, the error message always refers to "data" scheme. I believe it should mention the actual scheme of the URI being validated.
Standalone code, or other way to reproduce the problem
Bug Report
An exception with misleading message is thrown from Uri::assertValidState().
Summary
If Uri validation fails at this line, the error message always refers to
"data"
scheme. I believe it should mention the actual scheme of the URI being validated.Standalone code, or other way to reproduce the problem
Expected result
League/Uri/Exceptions/SyntaxError with message 'The uri `file://example.org:80/home/jsmith/foo.txt` is invalid for the file scheme'
Actual result
League/Uri/Exceptions/SyntaxError with message 'The uri `file://example.org:80/home/jsmith/foo.txt` is invalid for the data scheme'
The text was updated successfully, but these errors were encountered: