Title: Message Title
Ryan Senior commented on an issue
PuppetDB / Bug PDB-950
PuppetDB returns 500 error as HTML when query contains invalid regex
Entering an invalid regex pattern in a query causes PuppetDB to return a 500 error as `text/html`

Request:

{code}
curl -v 'http://localhost:8080/v3/nodes/kb.local/facts?query=\["~","name","*.foo"\]&include-total=true&limit=1'
{code}

Response:

{code}
HTTP/1.1 500 org.postgresql.util.PSQLException: ERROR: invalid regular _expression_: quantifie...

--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to