I have a relative url and an absolute path and i want to resolve it to an absolute path.
Have tried using filename:abspath(“test”, “/root/”).
and it works but not with relative paths like “../”
for example filename:abspath(“../”, “/root/”).
gives “/root/../”
Does anyone have a simple solution?
Try to look at mochiweb sources it could be helpful