mloayzagahona / plovr

Automatically exported from code.google.com/p/plovr
0 stars 0 forks source link

(../) Parent path names breaks plovr in RAW mode #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. In the config.js attempt to set an input in a parent directory such as 
../../client/js/client.js and supply a path of "../../client/js"

2. Run things in RAW mode and plovr will be unable to to serve up the client.js 
file correctly and will instead return the HTML for the localhost:9810/ index 
page for the javascript content.

_______________________

What is the expected output? What do you see instead?

Expect to see the raw contents of client.js
Instead a blank page is found, or the plovr index is page is returned as the 
script contents for client.js (which of cause breaks things)

_______________________

I would like to have the configuration files in there own separate 
configuration folder somewhere so this would be quite useful to be able to 
specify "../" in the configuration path names to specify where the input files 
are.

When putting the configuration files (config-dev.js, config-production.js etc) 
into the root of the project plovr works fine.

_______________________
What version of the product are you using? On what operating system?
plovr-c047fb78efb8.jar (April 2011)

Original issue reported on code.google.com by withj...@gmail.com on 15 Aug 2011 at 8:48

GoogleCodeExporter commented 9 years ago
I would just like to note that using parent directory accessor? ../ 

Works fine in Simple mode and Advanced mode as all the required files are 
concatenated into a single file.

Original comment by withj...@gmail.com on 15 Aug 2011 at 8:52

GoogleCodeExporter commented 9 years ago
I believe this is a duplicate of 
http://code.google.com/p/plovr/issues/detail?id=25, no?

Original comment by bolinf...@gmail.com on 14 Sep 2011 at 10:48

GoogleCodeExporter commented 9 years ago

Original comment by bolinf...@gmail.com on 15 Sep 2011 at 2:02