Skip to content

When attempting to rewrite octet strings, extra space breaks pattern matching #3346

@browniebraun

Description

@browniebraun

I have just found a tiny, but really nasty bug in /lib/data_query.php, line 1119.
There is a space in the pattern (at '}) {2') that breaks the recognition of octet strings like e.g. '5.103.101.48.47.49'

if (preg_match('/^\d{1,3}(\.\d{1,3}) {2,}$/', $parse_value)) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions