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

API server: multiple query params cause crash-like output #174

Closed
todbot opened this issue Jul 5, 2022 · 1 comment
Closed

API server: multiple query params cause crash-like output #174

todbot opened this issue Jul 5, 2022 · 1 comment

Comments

@todbot
Copy link
Owner

todbot commented Jul 5, 2022

As reported by user Mike (@p1ckzi) via email:

If the same parameter is given twice in the query args, like:
http://localhost:8934/blink1/pattern/stop?pname=test&pname=test
then the output will look like:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>TypeError: pattid.startsWith is not a function<br>
[additional response elided]
@todbot todbot closed this as completed in 5c4892c Jul 5, 2022
@todbot
Copy link
Owner Author

todbot commented Jul 5, 2022

Also fixed in commit 5c4892c was disabling /blink1/input* API endpoints

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant