diff --git a/lib/modules/Standards.pmod/URI.pike b/lib/modules/Standards.pmod/URI.pike index b67e7146687a5500abbf846cc64690dcd7aa07e5..903b2f410c12690aa5b01504cd97861af9c90585 100644 --- a/lib/modules/Standards.pmod/URI.pike +++ b/lib/modules/Standards.pmod/URI.pike @@ -123,10 +123,7 @@ string combine_uri_path(string base, string rel) // copied to the buffer. In other words, any characters after the // last (right-most) slash character, if any, are excluded. array segments=base/"/"; - if(has_value(base, "/")) - buf=segments[..<1]*"/"+"/"; - else - buf=base; + buf=segments[..<1]*"/"+"/"; // b) The reference's path component is appended to the buffer string. buf+=rel;