rnewson opened a new pull request, #3993:
URL: https://github.com/apache/couchdb/pull/3993

   ## Overview
   
   Jiffy throws exceptions with a descriptive reason that is not 
JSON-encodable. We attempt to construct a 400 Bad Request and fail, causing the 
request handling process to crash and no response to the client. Improve on 
this.
   
   ## Testing recommendations
   
   with jwtf authenticator handler enabled;
   
   curl -v http://localhost:15984/test -Hcontent-type:application/json -H 
"Authorization: Bearer 
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImZvbyJ9.eyJraWQiOiJmb28iLCJzdWIiOiJhZG1pbiIsIm5hbWUiOiJhZG1pbiIsInJvbGVzIjpbInRlc3QxIiwidGVzdDIiXX0=.xftH2byj7LV9/YqqacmyZfcxQt+/h0etsgtRj6aL4AE="
   
   
   ## Related Issues or Pull Requests
   
   https://github.com/apache/couchdb/issues/3976
   
   ## Checklist
   
   - [x] Code is written and works correctly
   - [ ] Changes are covered by tests
   - [ ] Any new configurable parameters are documented in 
`rel/overlay/etc/default.ini`
   - [ ] A PR for documentation changes has been made in 
https://github.com/apache/couchdb-documentation
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to