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

[vite:build-html] URI malformed #19199

Closed
7 tasks done
lubomirblazekcz opened this issue Jan 13, 2025 · 0 comments · Fixed by #19397
Closed
7 tasks done

[vite:build-html] URI malformed #19199

lubomirblazekcz opened this issue Jan 13, 2025 · 0 comments · Fixed by #19397
Labels
feat: html p2-edge-case Bug, but has workaround or limited in scope (priority)

Comments

@lubomirblazekcz
Copy link
Contributor

lubomirblazekcz commented Jan 13, 2025

Describe the bug

href attribute in html that contains #% fails during build, this worked previously in 5.4.2 (not since)

Reproduction

https://stackblitz.com/edit/vitejs-vite-xtansfhc?file=index.html&terminal=dev

Steps to reproduce

run vite build

System Info

System:
    OS: macOS 15.1
    CPU: (10) arm64 Apple M4
    Memory: 1.89 GB / 24.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 23.6.0 - /opt/homebrew/bin/node
    npm: 11.0.0 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 131.0.6778.265
    Safari: 18.1
  npmPackages:
    vite: ^6.0.7 => 6.0.7

Used Package Manager

npm

Logs

No response

Validations

@sapphi-red sapphi-red added feat: html p2-edge-case Bug, but has workaround or limited in scope (priority) labels Feb 10, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Feb 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feat: html p2-edge-case Bug, but has workaround or limited in scope (priority)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants