Closed Bug 1542895 Opened 7 months ago Closed 6 months ago

JSON Schema validator doesn't accept file URLs for origins

Categories

(Firefox :: Enterprise Policies, defect, P1)

defect

Tracking

()

RESOLVED FIXED
Firefox 68
Tracking Status
firefox68 --- fixed

People

(Reporter: mkaply, Assigned: mkaply)

References

Details

Attachments

(1 file)

See:

https://github.com/mozilla/policy-templates/issues/354

Origins like this:

file:///c:/foo/bar

are valid for permissions, but our origin code in JsonSchemaValidator.jsm doesn't consider these as origins.

Priority: -- → P1

On reviewing https://bugzilla.mozilla.org/show_bug.cgi?id=803143 and related bugs, we should make the origin be the exact file URL that was passed in.

This is stricter than standard Firefox, but where we are moving to.

Assignee: nobody → mozilla
Blocks: 1544533
Status: NEW → ASSIGNED
Pushed by mozilla@kaply.com:
https://hg.mozilla.org/integration/autoland/rev/ec03fbaacace
Allow file URLs as origins. r=Felipe
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 68
You need to log in before you can comment on or make changes to this bug.