Closed Bug 822638 Opened 13 years ago Closed 13 years ago

[sms] Possible CSP problem

Categories

(Firefox OS Graveyard :: Gaia::SMS, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: macajc, Assigned: borjasalguero)

Details

Attachments

(1 file)

I've passed a static analysis on the source code of Gaia looking for possible problems regarding the default CSP. The sms application has the following possible issue: FILE: shared/style/edit_mode/index.html 30: <form role="dialog" data-type="edit" onsubmit="return false;">
This one is related with building blocks, and comes from 'shared/style/edit_mode/index.html', but this is an 'example' html so the APP should be working as expected. However, it should be nice to fix this even in our examples.
Flags: needinfo?(arnau)
Assignee: nobody → fbsc
Attached file PR
NOTE: If blocking-basecamp+ is set, just land it for now. [Approval Request Comment] Bug caused by (feature/regressing bug #): User impact if declined: Testing completed: Risk to taking this patch (and alternatives if risky):
Attachment #700469 - Flags: review?(igonzaleznicolas)
Attachment #700469 - Flags: approval-gaia-master?(francisco.jordano)
I've removed the 'obsubmit' because this it's only an example of use of the BB, and it's not related with SMS App at all.
Flags: needinfo?(arnau)
Attachment #700469 - Flags: review?(igonzaleznicolas) → review+
Comment on attachment 700469 [details] PR Simple harmless change in the dom, but fixes a CSP issue so a=me Thanks Borja.
Attachment #700469 - Flags: approval-gaia-master?(francisco.jordano) → approval-gaia-master+
Merged! Closing.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: