projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d42054
)
Don't use scheme if not an absolute URI
author
David Straw
<strawd@hp>
Tue, 24 Jul 2012 22:22:55 +0000
(16:22 -0600)
committer
David Straw
<strawd@hp>
Tue, 24 Jul 2012 22:22:55 +0000
(16:22 -0600)
mcs/class/System/System/Uri.cs
patch
|
blob
|
history
diff --git
a/mcs/class/System/System/Uri.cs
b/mcs/class/System/System/Uri.cs
index 4078f132a0a03154d67578313bebcf335feee40f..94bb95bf016786727b87568d9e3f11aa1792360a 100644
(file)
--- a/
mcs/class/System/System/Uri.cs
+++ b/
mcs/class/System/System/Uri.cs
@@
-2017,7
+2017,8
@@
namespace System {
private UriParser Parser {
get {
if (parser == null) {
- parser = UriParser.GetParser (Scheme);
+ if (isAbsoluteUri)
+ parser = UriParser.GetParser (Scheme);
// no specific parser ? then use a default one
if (parser == null)
parser = new DefaultUriParser ("*");