New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
warn if import contains ".." that traverses outside the package boundary #9734
Comments
Could we make it just not work? If we just transform it to a file URI blindly, then all kinds of hackery is possible, so the safest thing is to just not do that. |
That makes sense to me. Are there issues open for VM and dart2js to disallow this situation? |
Added this to the M5 milestone. |
Added Editor-AnalysisEngine label. |
Removed Editor-AnalysisEngine label. |
Has there been any progress on this issue? We need to be consistent with dart2js and the VM. Set owner to @danrubel. |
https://codereview.chromium.org/15736020/ Added Started label. |
Removed this from the Later milestone. |
Added NotPlanned label. |
This was miscategerized as an editor issue... reopening and moving to analyzer Removed Area-Editor, Oldschool-Milestone-Later labels. |
Added Analyzer-Hint label. |
Two cases, maybe more, where we should warn the user of a bad practice...
import '../lib/foo.dart';
import 'package:anypkg/../web/bar.dart';
The text was updated successfully, but these errors were encountered: