Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panic when parsing URLPattern #20906

Closed
lucacasonato opened this issue Oct 14, 2023 · 0 comments · Fixed by #24741
Closed

Panic when parsing URLPattern #20906

lucacasonato opened this issue Oct 14, 2023 · 0 comments · Fixed by #24741
Assignees
Labels
bug Something isn't working correctly web related to Web APIs

Comments

@lucacasonato
Copy link
Member

james@DESKTOP-38UI0E9:~$ deno
Deno 1.37.2
exit using ctrl+d, ctrl+c, or close()
REPL is running with all permissions allowed.
To specify permissions, run `deno repl` with allow flags.
> let u = new URLPattern(":cafe://:foo")
undefined
> let u = new URLPattern(":café://:foo")

============================================================
Deno has panicked. This is a bug in Deno. Please report this
at https://github.com/denoland/deno/issues/new.
If you can reliably reproduce this panic, include the
reproduction steps and re-run with the RUST_BACKTRACE=1 env
var set and include the backtrace in your report.

Platform: linux x86_64
Version: 1.37.2
Args: ["deno"]

thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/urlpattern-0.2.0/src/constructor_parser.rs:173:8:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
james@DESKTOP-38UI0E9:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly web related to Web APIs
Projects
None yet
2 participants