Skip to content

Remove jsonp support in API. - #1061

Merged
pascalchevrel merged 1 commit into
mozfr:mainfrom
pascalchevrel:snyk_sanitize_json_flow
Nov 11, 2026
Merged

pascalchevrel merged 1 commit into
mozfr:mainfrom
pascalchevrel:snyk_sanitize_json_flow

Conversation

@pascalchevrel

Copy link
Copy Markdown
Member

jsonp was deprecated by CORS which is now supported by all browsers.

We send the right CORS headers so the API can be used from other sites with javascript. I checked Apache logs, we don't have API calls that make use of the jsonp callback parameter so it's unlikely we break anybody.

Added to changelog for a future release as it was mentioned in a 2013 release changelog when it was added.

jsonp was deprecated by CORS which is now supported by all browsers.

We send the right CORS headers so the API can be used from other sites with javascript.
I checked Apache logs, we don't have API calls that make use of the jsonp callback parameter so it's unlikely we break anybody.

Added to changelog for a future release as it was mentioned in a 2013 release changelog when it was added.
@pascalchevrel
pascalchevrel merged commit 942f942 into mozfr:main Nov 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant