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

ngResource: '$' in pamater values are not escaped properly #6003

@tam4s

Description

@tam4s

1 liner demonstration in a browser JS console:

angular.injector(['ngResource']).get('$resource')('/search/:str').get({'str': 'hello$'})
GET http://docs.angularjs.org/search/hello$1 404 (Not Found)

Notice the extra '1' in the URL.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions