jericho 2003/01/22 05:50:09
Modified: src/util/org/apache/util URI.java
Log:
- Fix the relative contructor when the relative path is empty
Patched by Armando_Ant=F3n?= <[EMAIL PROTECTED]>
Thank you!
Revision Changes Path
1.26 +5 -6 jakarta-slide/src/util/org/apache/util/URI.java
Index: URI.java
===================================================================
RCS file: /home/cvs/jakarta-slide/src/util/org/apache/util/URI.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- URI.java 21 Jan 2003 04:02:07 -0000 1.25
+++ URI.java 22 Jan 2003 13:50:08 -0000 1.26
@@ -485,8 +485,7 @@
this._path = relative._path;
}
// resolve the path
- if (relative._scheme == null && relative._authority == null ||
- equals(base._scheme, relative._scheme)) {
+ if (relative._scheme == null && relative._authority == null) {
this._path = resolvePath(base._path, relative._path);
}
// base._query removed
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>