collectstatic should ignore JS unit test .spec.js files

Bug #1580325 reported by Steve McLellan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
New
Low
Unassigned

Bug Description

Currently when collectstatic is run, all javascript is gathered up including .spec.js files. There doesn't seem to be any benefit from making these available to a deployed horizon instance and while I can't find any evidence that it creates any specific problems it seems messy. This got noticed by an automatic scanning tool discovering some of the spec files and running some exploit attempts on them which resulted in false positives.

Changed in horizon:
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.