Closed Bug 1185072 Opened 9 years ago Closed 9 years ago

CSP devtool in GCLI does not show green icon for upgrade-insecure-requests

Categories

(Core :: DOM: Security, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: ckerschb, Assigned: ckerschb)

References

Details

Attachments

(1 file)

Since the csp directive upgrade-insecure-reuqests does *not* have any sources and only exists of the directive itself we have to special case it within gcli/commands/security.js
Assignee: nobody → mozilla
Blocks: 1129999, 1139297
Joe, we recently landed a special CSP directive called upgrade-insecure-requests (Bug 1139297) which is slightly different. Within CSP we usually encounter a directive paired with some srcs. That's different for upgrade-insecure-requests which only consists of a directive name and no srcs. Hence we have to special case that directive within the GCLI devtool. Let me know if you haven any questions.
Attachment #8639404 - Flags: review?(jwalker)
Comment on attachment 8639404 [details] [diff] [review]
bug_1185072_glci_upgrade_green_icon.patch

Review of attachment 8639404 [details] [diff] [review]:
-----------------------------------------------------------------

I'm no CSP expert, but I'm happy with this change from a GCLI point of view, and as far as I can tell the code does what the bug alleges it should.
Attachment #8639404 - Flags: review?(jwalker) → review+
https://hg.mozilla.org/mozilla-central/rev/82f4acb95b50
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: