ArcadeData / arcadedb

ArcadeDB Multi-Model Database, one DBMS that supports SQL, Cypher, Gremlin, HTTP/JSON, MongoDB and Redis. ArcadeDB is a conceptual fork of OrientDB, the first Multi-Model DBMS. ArcadeDB supports Vector Embeddings.
https://arcadedb.com
Apache License 2.0
486 stars 60 forks source link

Fix missing HTTP Post language guard #1604

Closed gramian closed 4 months ago

gramian commented 4 months ago

What does this PR do?

This change adds a guard to the HTTP Server POST command handler, sending a 400 status if the language property is missing in the body (in the same way the GET query handler does).

Motivation

User report in Discord

Related issues

https://github.com/ArcadeData/arcadedb/issues/1603

Checklist

lvca commented 4 months ago

Thanks @gramian !