-
Notifications
You must be signed in to change notification settings - Fork 1k
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
handle_file_req handler for crossdomain.xml #4
Conversation
…in.xml from a couchdb instance. For example, you could add: [httpd_global_handlers] crossdomain.xml = {couch_httpd_misc_handlers, handle_file_req, "/usr/share/couchdb/www/crossdomain.xml" } To your local.ini to serve up crossdomain.xml.
Hi, Sorry this has been lingering here for so long! Until very recently, this wasn't an official way to contribute back to Apache CouchDB. May we kindly request that you check whether this is still an issue and update the PR accordingly? We are now prepared and more than happy to accept pull requests :) Cheers
|
I have committed this to the master branch. This’ll show up in a CouchDB release near you soon :) Could you close this PR for us (we currently can't, thanks!) |
…esign-UI-login 1829 user experience redesign ui login
Router remove(), log clean up and fix couchapp grunt tasks
This closes #4 Signed-off-by: Alexander Shorin <[email protected]>
This can be used to serve up files like /crossdomain.xml from a CouchDB instance. For example, you could add: [httpd_global_handlers] crossdomain.xml = {couch_httpd_misc_handlers, handle_file_req, "/usr/share/couchdb/www/crossdomain.xml" } To your local.ini to serve up crossdomain.xml. Closes apache#4
Add zsh completion script
Use couch_crypto
Fix compilation errors and use of macro
This closes #4 Signed-off-by: Alexander Shorin <[email protected]>
This closes #4 Signed-off-by: ILYA Khlopotov <[email protected]>
* Improve pubkey not found error handling When the public key identified by the {Alg, KID} tuple is not found on the IAM keystore server, it's possible to see errors like: ([email protected])140> epep:jwt_decode(SampleJWT). ** exception error: no function clause matching public_key:do_verify(<<"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjIwMTcwNTIwLTAwOjAwOjAwIn0.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjEyMzIx"...>>, sha256, <<229,188,162,247,201,233,118,32,115,206,156, 169,17,221,78,157,161,147,46,179,42,219,66, 15,139,91,...>>, {error,not_found}) (public_key.erl, line 782) in function jwtf:public_key_verify/4 (src/jwtf.erl, line 212) in call from jwtf:decode/3 (src/jwtf.erl, line 30) Modify key/1 and public_key_not_found_test/0 to account for keystore changing from returning an error tuple to throwing one.
Use config app instead of couch_config
Add check for search availability
This closes apache#4 Signed-off-by: Alexander Shorin <[email protected]>
Add a new handler, handle_file_req, to serve up files like /crossdomain.xml from a couchdb instance. For example, you could add:
[httpd_global_handlers]
crossdomain.xml = {couch_httpd_misc_handlers, handle_file_req, "/usr/share/couchdb/www/crossdomain.xml" }
To your local.ini to serve up crossdomain.xml.