Tonejs / Tone.js

A Web Audio framework for making interactive music in the browser.
https://tonejs.github.io
MIT License
13.5k stars 981 forks source link

Incorrect recognition of nested URLs #1283

Open Alex-Vasilev opened 4 weeks ago

Alex-Vasilev commented 4 weeks ago
Снимок экрана 2024-10-03 в 21 51 41

Describe the bug

URL is processed incorrectly if there is nesting (/). Not for local files, only for network url

To Reproduce

In the image, the top link is the input URL. When new Tone(url) extra characters are added, and then 404.

Expected behavior A description of what you expected to happen.

What I've tried How have you tried resolving/debugging this issue? This can be helpful context for getting to the heart of the issue faster and not duplicating effort.

Additional context Add any other context about the problem here.

marcelblum commented 4 weeks ago

What Tone version are you on? I believe this bug is fixed in v15.1.