Closed Bug 658614 Opened 13 years ago Closed 11 years ago

hg.mozilla.org does not set Access-Control-Allow-Origin: *

Categories

(Developer Services :: Mercurial: hg.mozilla.org, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 774766

People

(Reporter: sdwilsh, Unassigned)

Details

I'm not really sure why hg.mozilla.org doesn't set Access-Control-Allow-Origin: * on at least things that provide json.  https://hg.mozilla.org/try/json-pushes appears to allow it because that's how tbpl works.  I'd like to see https://hg.mozilla.org/try/json-family also have it set so I can get information off of a specific push (that same url for all other repositories would likely be good too).

I'm currently using it for this bit of code (https://gist.github.com/971090), but it would enable other useful things that I could think of as well.

Can we please get this turned on?
bug 563074 fixed this for the pushlog, but I don't think we did this in general. I don't actually know how we'd fix this in general, since it's all hgweb, but it might be possible.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Product: mozilla.org → Release Engineering
Product: Release Engineering → Developer Services
You need to log in before you can comment on or make changes to this bug.