-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
area: @angular-devkit/build-angularfeatureIssue that requests a new featureIssue that requests a new featureneeds: investigationRequires some digging to determine if action is neededRequires some digging to determine if action is needed
Milestone
Description
Versions
1.6.0
Repro steps
- Create a project
- Configure the .angular-cli.json to Read a file from a parent folder
Observed behavior
Load file from an external folder now fails because of this check :
An asset cannot be read from a location outside the project
Introduced by the PR:
64c6031#diff-9eb0a75e499bdadd44d6dc62218812b8
could be possible introduce a parameter configuration as allowOutsideOutDir but for reading? something like :
"allowOutsideReadDir": true
It could be false by default and be enabled by the user only when he knows the security risk behind this kind of decision.
Side note the warning message could be improved indicating the assets failing
Desired behavior
Mention any other details that might be useful (optional)
If the idea above are ok for the project I could create a PR
DenysVuika, mauriziovitale, okunokentaro, lacolaco, eromano and 18 more
Metadata
Metadata
Assignees
Labels
area: @angular-devkit/build-angularfeatureIssue that requests a new featureIssue that requests a new featureneeds: investigationRequires some digging to determine if action is neededRequires some digging to determine if action is needed