[whatwg/url] Define valid IPv6-address string inline (PR #917)

Fixes #916.


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***

### :boom: Error: 422 Unprocessable Entity :boom: ###

[PR Preview](https://github.com/tobie/pr-preview#pr-preview) failed to build. _(Last tried on Jun 30, 2026, 12:10 PM UTC)_.

<details>
<summary>More</summary>


PR Preview relies on a number of web services to run. There seems to be an issue with the following one:

:rotating_light: [Spec Generator](https://www.w3.org/publications/spec-generator/) - Spec Generator is the web service used to build bikeshed/ReSpec specs

:link: [Related URL](https://www.w3.org/publications/spec-generator/?type=bikeshed-spec&output=html&url=https%3A%2F%2Fraw.githubusercontent.com%2Fwhatwg%2Furl%2F0c74f7cdb94d47e9a5acbaff4d474dd25d81d2b0%2Furl.bs&force=1&md-status=LS-PR&md-Text-Macro=PR-NUMBER%20917)

**Error output:**

```json
[
    {
        "lineNum": "218:72",
        "messageType": "fatal",
        "text": "[:...:] autolink was opened, but couldn't find :] or | on the same or next line. Either close your autolink, or escape the initial [ as &bs[;"
    },
    {
        "lineNum": null,
        "messageType": "failure",
        "text": "Did not generate, due to errors exceeding the allowed error level."
    }
]
```

_This seems to be an issue with the [Spec Generator](https://www.w3.org/publications/spec-generator/) service. PR Preview doesn't manage this service and so has no control over it. If you've identified an issue with it, you can [report the issue to the maintainers of Spec Generator](https://github.com/w3c/spec-generator/issues/new) directly. Please be courteous. Thank you!_

_If you don't have enough information above to solve the error by yourself or if the issue doesn't seem related to Spec Generator, you can [file an issue with PR Preview](https://github.com/tobie/pr-preview/issues/new?title=Unidentified%20Error&body=See%20whatwg/url%23917.)._

</details>

You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/url/pull/917

-- Commit Summary --

  * Define valid IPv6-address string inline

-- File Changes --

    M url.bs (45)

-- Patch Links --

https://github.com/whatwg/url/pull/917.patch
https://github.com/whatwg/url/pull/917.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/pull/917
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/url/pull/917@github.com>

Received on Tuesday, 30 June 2026 12:11:19 UTC