Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

feat($interpolate): escape interpolated expressions #7496

Closed
wants to merge 1 commit into from
Closed

feat($interpolate): escape interpolated expressions #7496

wants to merge 1 commit into from

Commits on May 17, 2014

  1. feat($interpolate): escape interpolated expressions

    the default escaped interpolation signs are `{{{{` and `}}}}`. those symbols will be ignored when parsing the interpolated string and will only be replaced by `{{` and `}}` in the result string. this allows servers that put unsafe strings inside html templates to replace `{{` with `{{{{` and optionally `}}` with `}}}}` in order to prevent XSS attacks.
    
    Closes #5601
    shahata committed May 17, 2014
    Configuration menu
    Copy the full SHA
    189be3f View commit details
    Browse the repository at this point in the history