On Mon, Nov 4, 2013 at 7:29 AM, anatoly techtonik <techtonik@gmail.com> wrote:
Right. But I am working more with URL paths nowadays. In there if I
want to join two paths, no matter if 2nd starts with slash or not, I
don't really expect the 2nd to rewrite the first.
Joining url paths is different from joining file system paths. I wouldn't suggest using a function designed for one to do the other.