zeevl / connect-include

A node connect middleware component to allow for SSI-style includes
5 stars 5 forks source link

Check relative file instead of absolute, following the standard #7

Closed Yobikap closed 10 years ago

Yobikap commented 10 years ago

The file attribute is a file path, relative to the current directory. That means that it cannot be an absolute file path (starting with /), nor can it contain ../ as part of that path

Please add this to your master branch.

see: http://httpd.apache.org/docs/2.2/howto/ssi.html

zeevl commented 10 years ago

thank you!