Skip to content

Rosetta Flash JSONP abuse in ExpressJS #49

@jerone

Description

@jerone

This extension is not compatible with the jsonp result that is returned by ExpressJS in NodeJS.
Express returns the following syntax:

/**/ typeof callback === 'function' && callback( ... );

As the source code documents, the /**/ is a specific security mitigation for "Rosetta Flash JSONP abuse". The typeof is for error checking.

I looked at the source but couldn't find an easy solution for PR. I hope you can fix this to make this extension even more useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions