Skip to content

Make regex more robust for checking URL #997

@ernilambar

Description

@ernilambar

We need to improve regex for URL in "plugin_header_invalid_plugin_uri_domain". Following was not detected:

Ref:

preg_match( '/\/\/(example\.com|example\.net|example\.org)\//', $plugin_header['PluginURI'], $matches )

Also, this check seems to be missing for "Author URI" header.

Metadata

Metadata

Assignees

Labels

[Type] BugAn existing feature is broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions