Skip to content

validation extension: forbidden colon (:) in URL #125

Open
@ne0-cz

Description

@ne0-cz

Why is using of : (colon) forbidden in URL? Why should we thank to @vrana for that?

https://github.com/vojtech-dobes/nette.ajax.js/blob/master/nette.ajax.js#L332

How can I at least disable the default URL validation?

It seems to be introduced in commit fdbc555 (Local links (with hash) are never ajaxified) which doesn't state anything about colons. The thx to @vrana comment is not helpful at all.

Colon (:) is not seen really often but it is a possible character in URI path (see https://www.quora.com/Is-it-safe-to-use-a-colon-in-the-path-of-a-URL or http://tools.ietf.org/html/rfc3986).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions