diff --git a/lib/modules/Standards.pmod/URI.pike b/lib/modules/Standards.pmod/URI.pike
index 3a4c20425354f44c0da15d6954fa7b6fc8da05c4..5c3f460818f734a7ae176a703ea75840d1758b04 100644
--- a/lib/modules/Standards.pmod/URI.pike
+++ b/lib/modules/Standards.pmod/URI.pike
@@ -3,7 +3,7 @@
 
 // Implemented by Johan Sundstr�m and Johan Sch�n.
 // Copyright (c) Roxen Internet Software 2001
-// $Id: URI.pike,v 1.1 2001/01/11 17:16:44 js Exp $
+// $Id: URI.pike,v 1.2 2001/01/11 22:17:42 js Exp $
 
 //! Scheme component of URI
 string scheme;
@@ -214,7 +214,6 @@ void reparse_uri(object|string|void _base_uri)
   if(sscanf(uri, "//%[^/]%s", authority, uri))		
   {
     debug("Found authority %O", authority);
-    parse_authority();
   }
 
   // Parse query information
@@ -238,6 +237,10 @@ void reparse_uri(object|string|void _base_uri)
   }
   scheme = base_uri->scheme;			
   debug("Inherited scheme %O from base URI", scheme);
+
+  if(authority)
+    parse_authority();
+
   
   // 4) If the authority component is defined, then the reference is a
   //	network-path and we skip to step 7.  Otherwise, the reference