compiled templates contain information about the server's directory structure #122

Closed
schlundd opened this Issue Jan 10, 2013 · 2 comments

Comments

Projects
None yet
2 participants

Hi,

I am using the express middleware to fetch compiled templates. I noticed they contain information about the server's directory structure:

__.base="/home/ubuntu/ebb-mdb/views", 
__.filename="/home/ubuntu/ebb-mdb/views/index.blade"

I wonder whether these fields are necessary for the client side rendering, since they may contain hints for possible attacks.

@ghost ghost assigned bminer Jan 10, 2013

@bminer bminer closed this in 189d16b Jan 10, 2013

Owner

bminer commented Jan 10, 2013

@schlundd - Good point. Try now. This should now be fixed.

That was quick, thanks :-). Updated without problems and issue is solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment