Open Bug 1235229 Opened 8 years ago Updated 2 years ago

Remove the possibility for unfiltered directory listings

Categories

(Core :: DOM: Core & HTML, defect)

defect

Tracking

()

People

(Reporter: rbarnes, Unassigned)

References

(Blocks 1 open bug)

Details

In the patch enabling filtering directory uploads, filtering was made optional.  Unless there's some concrete use case for not doing filtering, we should remove that option -- basically just remove [1] and remove the "if" around [2]. 

[1] https://dxr.mozilla.org/mozilla-central/source/dom/filesystem/GetDirectoryListingTask.cpp?from=GetDirectoryListingTask.cpp#163
[2] https://dxr.mozilla.org/mozilla-central/source/dom/filesystem/GetDirectoryListingTask.cpp?from=GetDirectoryListingTask.cpp#203
For future reference can you use the "Permalink" link so that the revision is included in links pasted in bugzilla? :)

After a bit of digging in the file history I believe the links above should be:

https://dxr.mozilla.org/mozilla-central/rev/e603b8428731/dom/filesystem/GetDirectoryListingTask.cpp#163
https://dxr.mozilla.org/mozilla-central/rev/e603b8428731/dom/filesystem/GetDirectoryListingTask.cpp#203
And for reference the commit it its entirety is https://hg.mozilla.org/mozilla-central/rev/e603b8428731
Blocks: 907707
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.