-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Cors headers #2021
Cors headers #2021
Commits on Oct 10, 2016
-
Added function to add CORS headers and handle preflight requests.
Aaron Salvo committedOct 10, 2016 Configuration menu - View commit details
-
Copy full SHA for 389434c - Browse repository at this point
Copy the full SHA 389434cView commit details
Commits on Oct 19, 2016
-
Added missing required headers to the Access-Control-Allow-Headers he…
…ader.
Aaron Salvo committedOct 19, 2016 Configuration menu - View commit details
-
Copy full SHA for cdd2ca8 - Browse repository at this point
Copy the full SHA cdd2ca8View commit details -
Merge branch 'master' of github.com:naunga/vault into cors-headers
Aaron Salvo committedOct 19, 2016 Configuration menu - View commit details
-
Copy full SHA for 09282a4 - Browse repository at this point
Copy the full SHA 09282a4View commit details -
Added config options to enable CORS and set a regexp for origins that…
… are allowed to make cross-origin requests.
Aaron Salvo committedOct 19, 2016 Configuration menu - View commit details
-
Copy full SHA for 237a9af - Browse repository at this point
Copy the full SHA 237a9afView commit details -
Reverted to master revision after moving things into more appropriate…
… places.
Aaron Salvo committedOct 19, 2016 Configuration menu - View commit details
-
Copy full SHA for f368d09 - Browse repository at this point
Copy the full SHA f368d09View commit details -
Added wrapper function to apply CORS headers when configured to do so.
Aaron Salvo committedOct 19, 2016 Configuration menu - View commit details
-
Copy full SHA for 889ae29 - Browse repository at this point
Copy the full SHA 889ae29View commit details -
Added fields to Core and CoreConfig structs to enable CORS if desired…
…. Added supporting code and funcs.
Aaron Salvo committedOct 19, 2016 Configuration menu - View commit details
-
Copy full SHA for 8c268e1 - Browse repository at this point
Copy the full SHA 8c268e1View commit details
Commits on Oct 20, 2016
-
Standardized on allowed origins instead of domains.
Aaron Salvo committedOct 20, 2016 Configuration menu - View commit details
-
Copy full SHA for 5852bb3 - Browse repository at this point
Copy the full SHA 5852bb3View commit details -
Added CORS configuration options to the tests and associated files.
Aaron Salvo committedOct 20, 2016 Configuration menu - View commit details
-
Copy full SHA for 336ba06 - Browse repository at this point
Copy the full SHA 336ba06View commit details -
Merge branch 'master' of github.com:naunga/vault into cors-headers
Aaron Salvo committedOct 20, 2016 Configuration menu - View commit details
-
Copy full SHA for 1fe3605 - Browse repository at this point
Copy the full SHA 1fe3605View commit details -
Exported the HandleCORS function and moved the invokation into the se…
…rver command.
Aaron Salvo committedOct 20, 2016 Configuration menu - View commit details
-
Copy full SHA for 88da2da - Browse repository at this point
Copy the full SHA 88da2daView commit details -
This was not the right place to apply the CORS handler. Removed.
Aaron Salvo committedOct 20, 2016 Configuration menu - View commit details
-
Copy full SHA for d18ed18 - Browse repository at this point
Copy the full SHA d18ed18View commit details -
Added tests for requests that require CORS.
Aaron Salvo committedOct 20, 2016 Configuration menu - View commit details
-
Copy full SHA for 0f5a7fa - Browse repository at this point
Copy the full SHA 0f5a7faView commit details -
Finalized how and where to apply the CORS headers.
Aaron Salvo committedOct 20, 2016 Configuration menu - View commit details
-
Copy full SHA for fd5494b - Browse repository at this point
Copy the full SHA fd5494bView commit details -
Setting the Origin header in order to test CORS handling.
Aaron Salvo committedOct 20, 2016 Configuration menu - View commit details
-
Copy full SHA for 6c54ded - Browse repository at this point
Copy the full SHA 6c54dedView commit details -
Removed AllowCORS() func and replaced it with CORSInfo() func. This m…
…akes more sense.
Aaron Salvo committedOct 20, 2016 Configuration menu - View commit details
-
Copy full SHA for 9b2f66c - Browse repository at this point
Copy the full SHA 9b2f66cView commit details -
Added configuration for CORS where required.
Aaron Salvo committedOct 20, 2016 Configuration menu - View commit details
-
Copy full SHA for 6747af0 - Browse repository at this point
Copy the full SHA 6747af0View commit details -
Merge branch 'master' of github.com:naunga/vault into cors-headers
Aaron Salvo committedOct 20, 2016 Configuration menu - View commit details
-
Copy full SHA for 23490f1 - Browse repository at this point
Copy the full SHA 23490f1View commit details
Commits on Nov 8, 2016
-
Merge branch 'master' of github.com:naunga/vault into cors-headers
Aaron Salvo committedNov 8, 2016 Configuration menu - View commit details
-
Copy full SHA for 092b94d - Browse repository at this point
Copy the full SHA 092b94dView commit details
Commits on Nov 9, 2016
-
Reverting changes. CORS config to be done via a /sys endpoint.
Aaron Salvo committedNov 9, 2016 Configuration menu - View commit details
-
Copy full SHA for a8cca06 - Browse repository at this point
Copy the full SHA a8cca06View commit details -
Reverting changes. CORS config to be done via a /sys endpoint.
Aaron Salvo committedNov 9, 2016 Configuration menu - View commit details
-
Copy full SHA for 6d80c03 - Browse repository at this point
Copy the full SHA 6d80c03View commit details
Commits on Nov 18, 2016
-
Refactored to align with the way things are going to be handled.
Aaron Salvo committedNov 18, 2016 Configuration menu - View commit details
-
Copy full SHA for 7ca440a - Browse repository at this point
Copy the full SHA 7ca440aView commit details -
Refactored to place access to the CORS settings behind the barrier in…
… the system backend, but accessible from the core.
Aaron Salvo committedNov 18, 2016 Configuration menu - View commit details
-
Copy full SHA for 71048cf - Browse repository at this point
Copy the full SHA 71048cfView commit details -
Move the logic to add the headers for CORS onto to the cors configura…
…tion struct.
Aaron Salvo committedNov 18, 2016 Configuration menu - View commit details
-
Copy full SHA for 9a4c9f1 - Browse repository at this point
Copy the full SHA 9a4c9f1View commit details -
Merge branch 'cors-headers' of github.com:naunga/vault into cors-headers
Aaron Salvo committedNov 18, 2016 Configuration menu - View commit details
-
Copy full SHA for b5e45ba - Browse repository at this point
Copy the full SHA b5e45baView commit details -
Merge branch 'master' of github.com:naunga/vault into cors-headers
Aaron Salvo committedNov 18, 2016 Configuration menu - View commit details
-
Copy full SHA for 1171697 - Browse repository at this point
Copy the full SHA 1171697View commit details
Commits on Nov 23, 2016
-
Aaron Salvo committed
Nov 23, 2016 Configuration menu - View commit details
-
Copy full SHA for 71ec898 - Browse repository at this point
Copy the full SHA 71ec898View commit details -
Moved to logic determine when to the apply the CORS headers to the Ap…
…plyHeaders() func.
Aaron Salvo committedNov 23, 2016 Configuration menu - View commit details
-
Copy full SHA for 4584a87 - Browse repository at this point
Copy the full SHA 4584a87View commit details -
Made the error returned by CORSConfig() a const.
Aaron Salvo committedNov 23, 2016 Configuration menu - View commit details
-
Copy full SHA for 367a04f - Browse repository at this point
Copy the full SHA 367a04fView commit details -
Lots of refactoring and clean up.
Aaron Salvo committedNov 23, 2016 Configuration menu - View commit details
-
Copy full SHA for ca2487f - Browse repository at this point
Copy the full SHA ca2487fView commit details -
Aaron Salvo committed
Nov 23, 2016 Configuration menu - View commit details
-
Copy full SHA for 4f6b25d - Browse repository at this point
Copy the full SHA 4f6b25dView commit details -
Added tests for the CORS functionality.
Aaron Salvo committedNov 23, 2016 Configuration menu - View commit details
-
Copy full SHA for 3643a10 - Browse repository at this point
Copy the full SHA 3643a10View commit details -
Aaron Salvo committed
Nov 23, 2016 Configuration menu - View commit details
-
Copy full SHA for a98bba2 - Browse repository at this point
Copy the full SHA a98bba2View commit details -
Aaron Salvo committed
Nov 23, 2016 Configuration menu - View commit details
-
Copy full SHA for e57ac5e - Browse repository at this point
Copy the full SHA e57ac5eView commit details -
Merge branch 'master' into cors-headers
Aaron Salvo committedNov 23, 2016 Configuration menu - View commit details
-
Copy full SHA for 5cbc9fe - Browse repository at this point
Copy the full SHA 5cbc9feView commit details
Commits on Nov 24, 2016
-
Aaron Salvo committed
Nov 24, 2016 Configuration menu - View commit details
-
Copy full SHA for ceb493e - Browse repository at this point
Copy the full SHA ceb493eView commit details -
Merge branch 'master' into cors-headers
Aaron Salvo committedNov 24, 2016 Configuration menu - View commit details
-
Copy full SHA for 9957df9 - Browse repository at this point
Copy the full SHA 9957df9View commit details
Commits on Nov 28, 2016
-
Fixed a bunch of logic bugs that were causing the server to panic aft…
…er checking the status of the CORS configuration.
Aaron Salvo committedNov 28, 2016 Configuration menu - View commit details
-
Copy full SHA for 7aa839c - Browse repository at this point
Copy the full SHA 7aa839cView commit details
Commits on Nov 29, 2016
-
Aaron Salvo committed
Nov 29, 2016 Configuration menu - View commit details
-
Copy full SHA for a974a2b - Browse repository at this point
Copy the full SHA a974a2bView commit details -
Aaron Salvo committed
Nov 29, 2016 Configuration menu - View commit details
-
Copy full SHA for ef2a522 - Browse repository at this point
Copy the full SHA ef2a522View commit details -
Added code to ensure the server responds correctly when the CORS requ…
…est fails.
Aaron Salvo committedNov 29, 2016 Configuration menu - View commit details
-
Copy full SHA for b22172e - Browse repository at this point
Copy the full SHA b22172eView commit details -
Skip handling the logical request for preflights.
Aaron Salvo committedNov 29, 2016 Configuration menu - View commit details
-
Copy full SHA for dd06686 - Browse repository at this point
Copy the full SHA dd06686View commit details -
Flesh out tests for CORS handler
Aaron Salvo committedNov 29, 2016 Configuration menu - View commit details
-
Copy full SHA for 0ad8ac3 - Browse repository at this point
Copy the full SHA 0ad8ac3View commit details -
Refactored so that the core is created with an empty CORSConfig vs. h…
…aving that field set to nil. Much cleaner this way and doesn't require returning an error from the CORSConfig() func.
Aaron Salvo committedNov 29, 2016 Configuration menu - View commit details
-
Copy full SHA for 796f0ef - Browse repository at this point
Copy the full SHA 796f0efView commit details -
Refactored ApplyHeaders() to return a 403 if the origin is not valid …
…and a 405 if the requested method is not allowed. validOrigin will now properly handle nil origins.
Aaron Salvo committedNov 29, 2016 Configuration menu - View commit details
-
Copy full SHA for f1a9225 - Browse repository at this point
Copy the full SHA f1a9225View commit details -
Merge branch 'master' into cors-headers
Aaron Salvo committedNov 29, 2016 Configuration menu - View commit details
-
Copy full SHA for 338fdb1 - Browse repository at this point
Copy the full SHA 338fdb1View commit details -
Aaron Salvo committed
Nov 29, 2016 Configuration menu - View commit details
-
Copy full SHA for ec20fbc - Browse repository at this point
Copy the full SHA ec20fbcView commit details
Commits on Nov 30, 2016
-
Removed (presently) unnecessary test.
Aaron Salvo committedNov 30, 2016 Configuration menu - View commit details
-
Copy full SHA for 582189d - Browse repository at this point
Copy the full SHA 582189dView commit details -
Added documentation for CORS functionality.
Aaron Salvo committedNov 30, 2016 Configuration menu - View commit details
-
Copy full SHA for 121e0ed - Browse repository at this point
Copy the full SHA 121e0edView commit details
Commits on Dec 2, 2016
-
Merge branch 'master' into cors-headers
Aaron Salvo committedDec 2, 2016 Configuration menu - View commit details
-
Copy full SHA for a247952 - Browse repository at this point
Copy the full SHA a247952View commit details -
Added a new custom header that tells the Vault server to bypass the C…
…ORS handler for requests from the Vault client.
Aaron Salvo committedDec 2, 2016 Configuration menu - View commit details
-
Copy full SHA for 50a0c11 - Browse repository at this point
Copy the full SHA 50a0c11View commit details -
CORS handler now applies to all paths. Added logic to bypass the CORS…
… handler if the request is coming from the Vault client.
Aaron Salvo committedDec 2, 2016 Configuration menu - View commit details
-
Copy full SHA for e5ff73f - Browse repository at this point
Copy the full SHA e5ff73fView commit details -
Disable() func now sets the core's CORS config to disabled and clears…
… the allow origins instead of setting the entire config to nil.
Aaron Salvo committedDec 2, 2016 Configuration menu - View commit details
-
Copy full SHA for 799cc8c - Browse repository at this point
Copy the full SHA 799cc8cView commit details -
handleCORSDisable was setting the core's corsConfig property to nil i…
…nstead of calling CORSConfig.Disable(). This was bad.
Aaron Salvo committedDec 2, 2016 Configuration menu - View commit details
-
Copy full SHA for 673365a - Browse repository at this point
Copy the full SHA 673365aView commit details -
Merge branch 'master' into cors-headers
Aaron Salvo committedDec 2, 2016 Configuration menu - View commit details
-
Copy full SHA for 02edf8e - Browse repository at this point
Copy the full SHA 02edf8eView commit details -
Aaron Salvo committed
Dec 2, 2016 Configuration menu - View commit details
-
Copy full SHA for 7122b8c - Browse repository at this point
Copy the full SHA 7122b8cView commit details
Commits on Dec 4, 2016
-
Aaron Salvo committed
Dec 4, 2016 Configuration menu - View commit details
-
Copy full SHA for 7eeba1e - Browse repository at this point
Copy the full SHA 7eeba1eView commit details -
Merge branch 'master' into cors-headers
Aaron Salvo committedDec 4, 2016 Configuration menu - View commit details
-
Copy full SHA for d3a5e45 - Browse repository at this point
Copy the full SHA d3a5e45View commit details -
Vary header will now be returned.
Aaron Salvo committedDec 4, 2016 Configuration menu - View commit details
-
Copy full SHA for 5c05c80 - Browse repository at this point
Copy the full SHA 5c05c80View commit details
Commits on Dec 7, 2016
-
Merge branch 'master' into cors-headers
Aaron Salvo committedDec 7, 2016 Configuration menu - View commit details
-
Copy full SHA for d809e4e - Browse repository at this point
Copy the full SHA d809e4eView commit details -
Refactored code and updated documents to reflect that the allowed ori…
…gins is now configured by setting it to a wildcard or a space-separated list of origins, instead of a regular expression.
Aaron Salvo committedDec 7, 2016 Configuration menu - View commit details
-
Copy full SHA for 3bba275 - Browse repository at this point
Copy the full SHA 3bba275View commit details
Commits on Dec 14, 2016
-
Merge branch 'master' into cors-headers
Aaron Salvo committedDec 14, 2016 Configuration menu - View commit details
-
Copy full SHA for fd735ba - Browse repository at this point
Copy the full SHA fd735baView commit details
Commits on Dec 16, 2016
-
Merged master and resolved conflicts.
Aaron Salvo committedDec 16, 2016 Configuration menu - View commit details
-
Copy full SHA for 7b22c2a - Browse repository at this point
Copy the full SHA 7b22c2aView commit details
Commits on Dec 18, 2016
-
Merge branch 'master' into cors-headers
Aaron Salvo committedDec 18, 2016 Configuration menu - View commit details
-
Copy full SHA for 3dba363 - Browse repository at this point
Copy the full SHA 3dba363View commit details
Commits on Dec 19, 2016
-
Merge branch 'master' into cors-headers
Aaron Salvo committedDec 19, 2016 Configuration menu - View commit details
-
Copy full SHA for ff022b6 - Browse repository at this point
Copy the full SHA ff022b6View commit details
Commits on Dec 20, 2016
-
Merge branch 'master' into cors-headers
Aaron Salvo committedDec 20, 2016 Configuration menu - View commit details
-
Copy full SHA for edab784 - Browse repository at this point
Copy the full SHA edab784View commit details
Commits on Jan 10, 2017
-
Merge branch 'master' into cors-headers
Aaron Salvo committedJan 10, 2017 Configuration menu - View commit details
-
Copy full SHA for 919e916 - Browse repository at this point
Copy the full SHA 919e916View commit details
Commits on Jan 16, 2017
-
Merge branch 'master' of github.com:naunga/vault into cors-headers
Aaron Salvo committedJan 16, 2017 Configuration menu - View commit details
-
Copy full SHA for 1e40dc8 - Browse repository at this point
Copy the full SHA 1e40dc8View commit details
Commits on Jan 18, 2017
-
Merge branch 'master' into cors-headers
Aaron Salvo committedJan 18, 2017 Configuration menu - View commit details
-
Copy full SHA for 0031687 - Browse repository at this point
Copy the full SHA 0031687View commit details
Commits on Jan 20, 2017
-
Merge branch 'master' into cors-headers
Aaron Salvo committedJan 20, 2017 Configuration menu - View commit details
-
Copy full SHA for 18bb96b - Browse repository at this point
Copy the full SHA 18bb96bView commit details
Commits on Jan 24, 2017
-
Aaron Salvo committed
Jan 24, 2017 Configuration menu - View commit details
-
Copy full SHA for 13bf4ae - Browse repository at this point
Copy the full SHA 13bf4aeView commit details -
Aaron Salvo committed
Jan 24, 2017 Configuration menu - View commit details
-
Copy full SHA for 543cebd - Browse repository at this point
Copy the full SHA 543cebdView commit details -
Merged the handleCORS() func into wrapCORSHandler(). Was not necessar…
…y to have two functions.
Aaron Salvo committedJan 24, 2017 Configuration menu - View commit details
-
Copy full SHA for 027e546 - Browse repository at this point
Copy the full SHA 027e546View commit details -
Aaron Salvo committed
Jan 24, 2017 Configuration menu - View commit details
-
Copy full SHA for d838b8e - Browse repository at this point
Copy the full SHA d838b8eView commit details -
Move check for preflight requests up to the CORS handler where it bel…
…onged.
Aaron Salvo committedJan 24, 2017 Configuration menu - View commit details
-
Copy full SHA for 9d5fb2a - Browse repository at this point
Copy the full SHA 9d5fb2aView commit details -
Removed unneeded struct fields. Changed pointers to slices to just sl…
…ices. No longer using a regular expression to check that the wildcard is the sole origin when used.
Aaron Salvo committedJan 24, 2017 Configuration menu - View commit details
-
Copy full SHA for 75955d5 - Browse repository at this point
Copy the full SHA 75955d5View commit details -
Refactored help text and code to reflect the fact that CORSConfig.all…
…owedOrigins is no longer a regular expression.
Aaron Salvo committedJan 24, 2017 Configuration menu - View commit details
-
Copy full SHA for e27b992 - Browse repository at this point
Copy the full SHA e27b992View commit details -
Merge branch 'master' of github.com:naunga/vault into cors-headers
Aaron Salvo committedJan 24, 2017 Configuration menu - View commit details
-
Copy full SHA for 1dbb7e1 - Browse repository at this point
Copy the full SHA 1dbb7e1View commit details
Commits on Jan 25, 2017
-
New config store for api-managable configurations.
Aaron Salvo committedJan 25, 2017 Configuration menu - View commit details
-
Copy full SHA for 8c0a7c9 - Browse repository at this point
Copy the full SHA 8c0a7c9View commit details
Commits on Jan 26, 2017
-
Added Settings field to Config struct to allow for many types of conf…
…igurations to be stored. setupConfigStore will now allow for loading existing configs at unseal time.
Aaron Salvo committedJan 26, 2017 Configuration menu - View commit details
-
Copy full SHA for 8ed7fe8 - Browse repository at this point
Copy the full SHA 8ed7fe8View commit details -
Refactored to use new Config structure.
Aaron Salvo committedJan 26, 2017 Configuration menu - View commit details
-
Copy full SHA for 580ca52 - Browse repository at this point
Copy the full SHA 580ca52View commit details -
Added configStore to Core. Wired up unseal and seal tasks.
Aaron Salvo committedJan 26, 2017 Configuration menu - View commit details
-
Copy full SHA for 0ab733d - Browse repository at this point
Copy the full SHA 0ab733dView commit details -
Aaron Salvo committed
Jan 26, 2017 Configuration menu - View commit details
-
Copy full SHA for 7645af4 - Browse repository at this point
Copy the full SHA 7645af4View commit details -
Added code to update the ConfigStore.
Aaron Salvo committedJan 26, 2017 Configuration menu - View commit details
-
Copy full SHA for 1b48377 - Browse repository at this point
Copy the full SHA 1b48377View commit details -
Merge branch 'master' into cors-headers
Aaron Salvo committedJan 26, 2017 Configuration menu - View commit details
-
Copy full SHA for cb2ccd7 - Browse repository at this point
Copy the full SHA cb2ccd7View commit details -
Fixed a typo that was making the test fail.
Aaron Salvo committedJan 26, 2017 Configuration menu - View commit details
-
Copy full SHA for 5f16cf7 - Browse repository at this point
Copy the full SHA 5f16cf7View commit details -
Added missing response headers. Renamed allowedHeaders to responseHea…
…ders to avoid confusion with the 'Access-Control-Allow-Headers' header. Added 'Vary' header to the responseHeaders slice instead of setting it in a separate step in the ApplyHeaders func.
Aaron Salvo committedJan 26, 2017 Configuration menu - View commit details
-
Copy full SHA for 70b9a9b - Browse repository at this point
Copy the full SHA 70b9a9bView commit details -
Refactored newCORSConfig() out.
Aaron Salvo committedJan 26, 2017 Configuration menu - View commit details
-
Copy full SHA for f70c6dc - Browse repository at this point
Copy the full SHA f70c6dcView commit details
Commits on Jan 27, 2017
-
Merge branch 'master' into cors-headers
Aaron Salvo committedJan 27, 2017 Configuration menu - View commit details
-
Copy full SHA for 47f52cb - Browse repository at this point
Copy the full SHA 47f52cbView commit details
Commits on Jan 30, 2017
-
Merge branch 'master' into cors-headers
Aaron Salvo committedJan 30, 2017 Configuration menu - View commit details
-
Copy full SHA for b7be8c5 - Browse repository at this point
Copy the full SHA b7be8c5View commit details
Commits on Jan 31, 2017
-
Moved logic of when to apply the CORS headers here. This makes the lo…
…gic easier to follow.
Aaron Salvo committedJan 31, 2017 Configuration menu - View commit details
-
Copy full SHA for 0859a85 - Browse repository at this point
Copy the full SHA 0859a85View commit details -
Refactored CORS handler test to reflect the current state of things.
Aaron Salvo committedJan 31, 2017 Configuration menu - View commit details
-
Copy full SHA for 0968686 - Browse repository at this point
Copy the full SHA 0968686View commit details -
It is not necessary to set the isEnabled flag on the CORSConfig. This…
… is done by the CORSConfig.Enable() func.
Aaron Salvo committedJan 31, 2017 Configuration menu - View commit details
-
Copy full SHA for 26af710 - Browse repository at this point
Copy the full SHA 26af710View commit details -
Creating an instance of a sync.RWMutex for the CORSConfig when the co…
…re is created.
Aaron Salvo committedJan 31, 2017 Configuration menu - View commit details
-
Copy full SHA for 4ac6a0b - Browse repository at this point
Copy the full SHA 4ac6a0bView commit details -
Renamed responseHeaders to preflightHeaders. Added 'LIST' method to l…
…ist of allowed methods. Refactored the export fields in CORSConfig struct to be unexported and added a RWMutex to the struct. Added guards to CORConfig's funcs. Created new funcs to expose the unexported fields of CORSConfig. Using strutil.StrListContains() where appropriate.
Aaron Salvo committedJan 31, 2017 Configuration menu - View commit details
-
Copy full SHA for e1afa97 - Browse repository at this point
Copy the full SHA e1afa97View commit details -
Renamed handleCORSEnable, Disable, and Status to handleCORSUpdate, De…
…lete, and Read. Also no longer returning values from the handleCORSUpdate and handleCORSDelete funcs. They will simply return a 204.
Aaron Salvo committedJan 31, 2017 Configuration menu - View commit details
-
Copy full SHA for 4b5a32a - Browse repository at this point
Copy the full SHA 4b5a32aView commit details -
Changed docs to reflect the fact that the CORS Update and Delete func…
…s simply return a 204.
Aaron Salvo committedJan 31, 2017 Configuration menu - View commit details
-
Copy full SHA for 3127933 - Browse repository at this point
Copy the full SHA 3127933View commit details -
Merge branch 'master' of github.com:naunga/vault into cors-headers
Aaron Salvo committedJan 31, 2017 Configuration menu - View commit details
-
Copy full SHA for 2bfa2e7 - Browse repository at this point
Copy the full SHA 2bfa2e7View commit details -
Refactor test to reflect the fact that the CORS Update and Delete met…
…hods return no data.
Aaron Salvo committedJan 31, 2017 Configuration menu - View commit details
-
Copy full SHA for c3447f4 - Browse repository at this point
Copy the full SHA c3447f4View commit details
Commits on Feb 1, 2017
-
Merge branch 'master' into cors-headers
Aaron Salvo committedFeb 1, 2017 Configuration menu - View commit details
-
Copy full SHA for 014ab2e - Browse repository at this point
Copy the full SHA 014ab2eView commit details
Commits on Feb 5, 2017
-
Merge branch 'master' into cors-headers
Aaron Salvo committedFeb 5, 2017 Configuration menu - View commit details
-
Copy full SHA for 10a5976 - Browse repository at this point
Copy the full SHA 10a5976View commit details -
Merged handleCORSRead() and corsStatusResponse() into a single func.
Aaron Salvo committedFeb 5, 2017 Configuration menu - View commit details
-
Copy full SHA for 54ce27b - Browse repository at this point
Copy the full SHA 54ce27bView commit details
Commits on Feb 7, 2017
-
Moved logic to determine when to apply the CORS headers to the http h…
…andler. This was a more logical place to put it.
Aaron Salvo committedFeb 7, 2017 Configuration menu - View commit details
-
Copy full SHA for 6bc49a5 - Browse repository at this point
Copy the full SHA 6bc49a5View commit details -
Aaron Salvo committed
Feb 7, 2017 Configuration menu - View commit details
-
Copy full SHA for bb5d81d - Browse repository at this point
Copy the full SHA bb5d81dView commit details -
Gave the test a URL that is actually valid.
Aaron Salvo committedFeb 7, 2017 Configuration menu - View commit details
-
Copy full SHA for 9afc279 - Browse repository at this point
Copy the full SHA 9afc279View commit details -
Refactored after removing the ConfigStore.
Aaron Salvo committedFeb 7, 2017 Configuration menu - View commit details
-
Copy full SHA for 3b0a32d - Browse repository at this point
Copy the full SHA 3b0a32dView commit details -
Exported the Enabled and AllowedOrigins fields of the CORSConfig stru…
…ct for JSON encoding. Added funcs to load the existing CORS config at unseal and save the CORS config to teardown. Embeded the RWMutex in the CORSConfig struct, instead of making it a field. Refactored to support this. Renamed validOrigin func to IsValid, because it reads better. Added the IsValidMethod func to check if the verb of the HTTP request is acceptable for cross-origin requests.
Aaron Salvo committedFeb 7, 2017 Configuration menu - View commit details
-
Copy full SHA for d8a689a - Browse repository at this point
Copy the full SHA d8a689aView commit details -
Aaron Salvo committed
Feb 7, 2017 Configuration menu - View commit details
-
Copy full SHA for 077dfad - Browse repository at this point
Copy the full SHA 077dfadView commit details
Commits on Feb 8, 2017
-
Merge branch 'master' into cors-headers
Aaron Salvo committedFeb 8, 2017 Configuration menu - View commit details
-
Copy full SHA for 7f67976 - Browse repository at this point
Copy the full SHA 7f67976View commit details
Commits on Feb 20, 2017
-
Merge branch 'master' of github.com:naunga/vault into cors-headers
Aaron Salvo committedFeb 20, 2017 Configuration menu - View commit details
-
Copy full SHA for 3d94364 - Browse repository at this point
Copy the full SHA 3d94364View commit details
Commits on Feb 28, 2017
-
Merge branch 'master' into cors-headers
Aaron Salvo committedFeb 28, 2017 Configuration menu - View commit details
-
Copy full SHA for 46d451b - Browse repository at this point
Copy the full SHA 46d451bView commit details
Commits on Mar 1, 2017
-
Moved the code to put the headers on the response here. Instead of ma…
…king it part of the CORSConfig struct.
Aaron Salvo committedMar 1, 2017 Configuration menu - View commit details
-
Copy full SHA for fca8f36 - Browse repository at this point
Copy the full SHA fca8f36View commit details -
CORSConfig.Get() was removed. Updated to reflect that. Fixed a typo i…
…n vault/core.go.
Aaron Salvo committedMar 1, 2017 Configuration menu - View commit details
-
Copy full SHA for 468fda3 - Browse repository at this point
Copy the full SHA 468fda3View commit details -
Removed ApplyHeaders and Get(). Applied correct locks where needed. F…
…ixed typos, and put the embedded Mutex struct as the first field in the CORSConfig struct for the sake of readability.
Aaron Salvo committedMar 1, 2017 Configuration menu - View commit details
-
Copy full SHA for 2a5a5ef - Browse repository at this point
Copy the full SHA 2a5a5efView commit details
Commits on Mar 3, 2017
-
Was missing a return after writing the headers for a preflight reques…
…t, which was resulting in an erroneous 405.
Aaron Salvo committedMar 3, 2017 Configuration menu - View commit details
-
Copy full SHA for f6f18b8 - Browse repository at this point
Copy the full SHA f6f18b8View commit details -
Merge branch 'master' into cors-headers
Aaron Salvo committedMar 3, 2017 Configuration menu - View commit details
-
Copy full SHA for 1adc2d7 - Browse repository at this point
Copy the full SHA 1adc2d7View commit details
Commits on Mar 8, 2017
-
Merge branch 'master' into cors-headers
Aaron Salvo committedMar 8, 2017 Configuration menu - View commit details
-
Copy full SHA for e7f4662 - Browse repository at this point
Copy the full SHA e7f4662View commit details -
Merge branch 'master' into cors-headers
Aaron Salvo committedMar 8, 2017 Configuration menu - View commit details
-
Copy full SHA for 48dd63f - Browse repository at this point
Copy the full SHA 48dd63fView commit details
Commits on Mar 9, 2017
-
Merge branch 'master' into cors-headers
Aaron Salvo committedMar 9, 2017 Configuration menu - View commit details
-
Copy full SHA for d26b641 - Browse repository at this point
Copy the full SHA d26b641View commit details
Commits on Mar 14, 2017
-
Merge branch 'master' into cors-headers
Aaron Salvo committedMar 14, 2017 Configuration menu - View commit details
-
Copy full SHA for e55caae - Browse repository at this point
Copy the full SHA e55caaeView commit details
Commits on Mar 20, 2017
-
Merge branch 'master' into cors-headers
Aaron Salvo committedMar 20, 2017 Configuration menu - View commit details
-
Copy full SHA for 7da6630 - Browse repository at this point
Copy the full SHA 7da6630View commit details
Commits on Apr 10, 2017
-
Merge branch 'master' into cors-headers
Aaron Salvo committedApr 10, 2017 Configuration menu - View commit details
-
Copy full SHA for 54314e0 - Browse repository at this point
Copy the full SHA 54314e0View commit details
Commits on May 6, 2017
-
Merge branch 'master' of github.com:naunga/vault into cors-headers
Aaron Salvo committedMay 6, 2017 Configuration menu - View commit details
-
Copy full SHA for ec019db - Browse repository at this point
Copy the full SHA ec019dbView commit details
Commits on May 10, 2017
-
Merge branch 'master' of github.com:naunga/vault into cors-headers
Aaron Salvo committedMay 10, 2017 Configuration menu - View commit details
-
Copy full SHA for 117326a - Browse repository at this point
Copy the full SHA 117326aView commit details -
Aaron Salvo committed
May 10, 2017 Configuration menu - View commit details
-
Copy full SHA for 607d2d5 - Browse repository at this point
Copy the full SHA 607d2d5View commit details -
Made parameter to Enable a string slice.
Aaron Salvo committedMay 10, 2017 Configuration menu - View commit details
-
Copy full SHA for ed209aa - Browse repository at this point
Copy the full SHA ed209aaView commit details -
Aaron Salvo committed
May 10, 2017 Configuration menu - View commit details
-
Copy full SHA for bd48453 - Browse repository at this point
Copy the full SHA bd48453View commit details -
Merge branch 'master' of github.com:naunga/vault into cors-headers
Aaron Salvo committedMay 10, 2017 Configuration menu - View commit details
-
Copy full SHA for 1bcdf0f - Browse repository at this point
Copy the full SHA 1bcdf0fView commit details -
Corrected parameter to func Enable.
Aaron Salvo committedMay 10, 2017 Configuration menu - View commit details
-
Copy full SHA for b5e9b84 - Browse repository at this point
Copy the full SHA b5e9b84View commit details -
Added Access-Control-Max-Age header to list of expected headers.
Aaron Salvo committedMay 10, 2017 Configuration menu - View commit details
-
Copy full SHA for 4fbeadb - Browse repository at this point
Copy the full SHA 4fbeadbView commit details -
Enable func returns an error if the list of URLs is empty. Reworded e…
…rror message when trying to use the wildcard and URLs.
Aaron Salvo committedMay 10, 2017 Configuration menu - View commit details
-
Copy full SHA for 8c9b4e2 - Browse repository at this point
Copy the full SHA 8c9b4e2View commit details -
Merge branch 'master' of github.com:naunga/vault into cors-headers
Aaron Salvo committedMay 10, 2017 Configuration menu - View commit details
-
Copy full SHA for 79a87ea - Browse repository at this point
Copy the full SHA 79a87eaView commit details
Commits on Jun 15, 2017
-
Merge branch 'master' of github.com:naunga/vault into cors-headers
Aaron Salvo committedJun 15, 2017 Configuration menu - View commit details
-
Copy full SHA for 370585b - Browse repository at this point
Copy the full SHA 370585bView commit details -
Merge branch 'master' of github.com:naunga/vault into cors-headers
Aaron Salvo committedJun 15, 2017 Configuration menu - View commit details
-
Copy full SHA for 3403c2d - Browse repository at this point
Copy the full SHA 3403c2dView commit details
Commits on Jun 16, 2017
-
Merge branch 'master' of github.com:naunga/vault into cors-headers
Aaron Salvo committedJun 16, 2017 Configuration menu - View commit details
-
Copy full SHA for b7be115 - Browse repository at this point
Copy the full SHA b7be115View commit details