-
-
Notifications
You must be signed in to change notification settings - Fork 26
System.Uri: Updated logic for combining base and URL #480
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
Conversation
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (4)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
From the git history it seems that the old implementation was added by @Ellerbach. Ping because I presume the code was added to enable functionality in other applications. Those other applications may require an update if they rely on the old combination rules. |
|
OK, I see, that corrects more elements and correct some bugs I4ve been introducing correcting the previous bug. So all good as it's the proper behavior. |
Ellerbach
left a comment
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.
Thanks for fixing the additional bugs. Seems that this time it's all god!
|
azp /run |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Aren't we better adding the above "tests" (in PR opening comment) in the combine constructor unit tests? |
I've updated the unit tests already. Or are you referring to other tests? |
|
@frobijn you're right. I've overlooked the changes in the unit tests and mistook them for format fixes. |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
josesimoes
left a comment
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.
LGTM
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Description
Motivation and Context
The previous implementation was based on conventions that are different from the regular rules for combining a base URL with a relative URL in browsers, as also implemented in the full .NET System.Uri. In particular (evaluated in C# interactive):
How Has This Been Tested?
Updated unit tests.
Types of changes
Checklist: