Skip to content

"URI must be ascii only" failures in bang healthcheck #204

@dumbmoron

Description

@dumbmoron

Opening this issue for some discussion regarding the periodically executing bang health check.

I noticed that a lot of the failures are due to the fact that some URLs contain UTF-8 characters, which results in the "URI must be ascii only" error thrown by Ruby's URI parser.

On one hand, they are indeed technically invalid as per RFC 3986; on the other hand though, any reasonable URL consumer nowadays supports parsing URLs containing direct unencoded UTF-8 characters, despite it being unsupported by the spec, so I don't see them containing UTF-8 characters as a huge problem.

@nobodywasishere What are your thoughts on this? Do you think this check could be worked around/ignored, or rather that all the URLs containing UTF-8 characters should be percent-encoded?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions