![](https://secure.gravatar.com/avatar/9d7e611f31c52f4d62bbe279d4f334de.jpg?s=120&d=mm&r=g)
Nov. 4, 2013
3:29 p.m.
On Thu, Oct 31, 2013 at 6:15 PM, Ethan Furman <ethan@stoneleaf.us> wrote:
On 10/31/2013 03:30 AM, anatoly techtonik wrote:
On Wed, Oct 30, 2013 at 8:06 PM, Bruce Leban <bruce@leapyear.org> wrote:
I don't know if the code is wrong but if you're asking if the *result* of join is wrong, I don't think it is. It references the same file as these commands:
cd /static cat /styles/largestyles,css
2. What is expected result of this operation?
for 2 I'd expect 2nd path to be treated as relative one.
If 2 is a relative path, it shouldn't be leading with a slash.
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.