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.

Linky filter breaks with URLs enclosed in [" and "] #9256

Closed
@lorenzhs

Description

@lorenzhs

Minimal example:

$filter('linky')('["http://foo"]');

This yields Error: [$sanitize:badparse] http://errors.angularjs.org/1.3.0-rc.3/$sanitize/badparse?p0=%3Ca%20href%3D%22http%3A%2F%2Ffoo%22%5D%22%3Ehttp%3A%2F%2Ffoo%26%2334%3B%5D%3C%2Fa%3E

Using 1.3.0-rc3. This is somewhat related to #8945 but a9d2271 does not fix the entire problem as suggested by #8945 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions