-
Notifications
You must be signed in to change notification settings - Fork 191
Conversation
@@ -80,7 +80,7 @@ public static string Encode(Uri uri) | |||
{ | |||
if (uri.IsAbsoluteUri) | |||
{ | |||
return Encode( | |||
return BuildAbsolute( |
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.
Curious: Why is there not a corresponding BuildRelative
call in the else
?
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.
System.Uri has minimal support for relative uris. It won't parse it into path?query#fragment for you. The most it will do is some basic escaping.
The Encode => ⌚ |
|
||
namespace SampleApp | ||
{ | ||
public class Program | ||
public static class Program |
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.
Nit: no need for static
Updated. |
"dnxcore50" | ||
], | ||
"dependencies": { | ||
"System.Console": "4.0.0-*", |
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.
Why do you need this? I think it's pulled in via Microsoft.NETCore.App
via NETStandard.Library
.
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.
Ah, removed.
|
393ff46
to
3fc1fef
Compare
#573 @NTaylorMullen @muratg @strohhut
Also clean up the sample project so it will run again.