Where the "web" subfolder contains some basic "index.html" file.
In a browser, browse to: "localhost:3000" and the website is shown correctly.
Now browse to "localhost:3000/?test" and the following error is shown:
"PrimitiveFailed: primitive #basicNew: in Array class failed"
.
Expected behavior:
The website is shown correctly
and the "?test" argument can be retrieved with JavaScript: Windows.location.search.
Checking further:
The error only occurs when the query is at the root level.
For example "localhost:3000/index.html?test" does not give an error and shows the website.
That will be the workaround.. :)
Start with a fresh Pharo 13 image. In a Playground window evaluate:
Where the "web" subfolder contains some basic "index.html" file.
In a browser, browse to: "localhost:3000" and the website is shown correctly.
Now browse to "localhost:3000/?test" and the following error is shown: "PrimitiveFailed: primitive #basicNew: in Array class failed" . Expected behavior: The website is shown correctly and the "?test" argument can be retrieved with JavaScript: Windows.location.search.