jesusabdullah/node-ecstatic — Issue #22: relative links are broken
Author: CodeRarity
Created: 2012-01-16 22:14:30+00:00
State: open

If you visit a folder with an index file without putting a trailing '/', relative links don't work correctly. eg, if you visit the index page at "www.yoursite.com/folder" and click on a relative link to "otherFolder/random.html", the path will be resolved as "www.yoursite.com/otherFolder/random.html", instead of the appropriate "www.yoursite.com/folder/otherFolder/random.html". I suppose the fix to this is to redirect the browser to the same folder with a trailing '/'.