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
Ember flaky test fix #3752
Ember flaky test fix #3752
Conversation
- Double slash in absence of scheme - Dot-segment when there is no scheme and authority, but path segment contains a colon
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice work! Thanks for finding the root cause.
|
||
case Uri(None, None, _, _, _) => | ||
} | ||
|
||
this match { | ||
case Uri(_, Some(_), p, _, _) if p.nonEmpty && !p.startsWith("/") => | ||
writer << "/" << p | ||
case Uri(None, None, p, _, _) => | ||
if (p.contains(":")) | ||
writer << "./" << p // https://tools.ietf.org/html/rfc3986#section-4.2 last paragraph |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've probably read that RFC a dozen times and never noticed this rule. Great find.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, this one really bugged me!
No description provided.