Skip to content

SecureJSON method to prevent json hijacking #433

@orian

Description

@orian

Angular suggest adding prefix )]}',\n to all json responses.
Google adds while(1);.

What about adding SecureJson or SafeJson or AngularJson method which would write JSON with prefix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions