-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
#20199 Reverted BaseUrl::isRelative() behaviour to previous 2.0.49 ve… #20203
#20199 Reverted BaseUrl::isRelative() behaviour to previous 2.0.49 ve… #20203
Conversation
…0.49 version due to yii\web\UrlManager::createAbsoluteUrl() malfunction depending on this.
@edegaudenzi please check failing tests. |
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.
This change is incorrect, in reverts fix for #17191 (that is why tests fails).
Also, see #20199 (comment)
Ok @samdark, I will at a certain point today. I've just given a brief look at them and seems a couple of tests are starting from the wrong assumption links like |
I'm not sure why do you think that |
…compliant uris. Added couple of cases to also test the more relaxed rfc3986 section 3.4 definitions.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #20203 +/- ##
============================================
- Coverage 64.99% 64.99% -0.01%
- Complexity 11391 11393 +2
============================================
Files 430 430
Lines 36923 36925 +2
============================================
Hits 23998 23998
- Misses 12925 12927 +2 ☔ View full report in Codecov by Sentry. |
As promised, on Friday I've dug deeper and found out the problem was in fact the a non rfc3986 compliant url in the tests. I've changed that one, and for sake of clarity I've also added an additional case aimed to test a more relaxed version of rfc3986, but still legal. Everything's is committed now in the pr. |
@edegaudenzi You may argue that |
…rsion due to yii\web\UrlManager::createAbsoluteUrl() malfunction depending on this.