Skip to content

is_valid_timezone?("<a string with two sets characters wrapped in angle brackets><will return true>") returns true #790

@sam-pd

Description

@sam-pd

Any input wrapped in <...>...<...> with three or more non-> bytes between each pair will pass Timex.is_valid_timezone?.

  • is_valid_timezone?("<><>") returns false
  • is_valid_timezone?("<abc><>") returns false
  • is_valid_timezone?("<abc><def>") returns true

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