handle_file_req handler for crossdomain.xml#4
Closed
joelwreed wants to merge 1 commit intoapache:trunkfrom
Closed
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.
Member
|
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
|
Member
|
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!) |
seanbarclay
pushed a commit
to seanbarclay/couchdb
that referenced
this pull request
Aug 5, 2013
…esign-UI-login 1829 user experience redesign ui login
robertkowalski
pushed a commit
to robertkowalski/couchdb
that referenced
this pull request
Jul 11, 2014
Router remove(), log clean up and fix couchapp grunt tasks
asfgit
pushed a commit
that referenced
this pull request
Nov 13, 2014
This closes #4 Signed-off-by: Alexander Shorin <kxepal@apache.org>
candeira
pushed a commit
to candeira/couchdb
that referenced
this pull request
Apr 6, 2015
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
lag-linaro
pushed a commit
to lag-linaro/couchdb
that referenced
this pull request
Oct 25, 2018
Add zsh completion script
kocolosk
pushed a commit
to kocolosk/couchdb
that referenced
this pull request
May 20, 2019
Use couch_crypto
asfgit
pushed a commit
that referenced
this pull request
Nov 22, 2019
Fix compilation errors and use of macro
janl
pushed a commit
that referenced
this pull request
Jan 5, 2020
This closes #4 Signed-off-by: Alexander Shorin <kxepal@apache.org>
asfgit
pushed a commit
that referenced
this pull request
Jan 6, 2020
This closes #4 Signed-off-by: ILYA Khlopotov <iilyak@ca.ibm.com>
rnewson
pushed a commit
that referenced
this pull request
Mar 12, 2020
* 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:
(node1@127.0.0.1)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.
jaydoane
pushed a commit
that referenced
this pull request
Dec 14, 2020
Use config app instead of couch_config
jaydoane
pushed a commit
that referenced
this pull request
Dec 25, 2020
Add check for search availability
nickva
pushed a commit
to nickva/couchdb
that referenced
this pull request
Sep 7, 2022
This closes apache#4 Signed-off-by: Alexander Shorin <kxepal@apache.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.