Skip to content

Implement whitelist for plain text URL parsing #14

@spiralofhope

Description

@spiralofhope

(from Berend Dekens)

The regex to capture plain URLs from the text accepts every protocol as it searches for a string.

I have some plugins like the Youtube Lyte embedder which use a special URL to extract a link to a video and replace it with object code.

Perhaps this can be added to your plugin? An option to convert all links (like it does by default) or a list of protocols. I’ve inserted something like: (http|https|ftp|sftp|ssh|ts3) for my site.

skrysmanski#13

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions