Skip to content
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

Merged
merged 135 commits into from
Jun 17, 2017
Merged

Cors headers #2021

merged 135 commits into from
Jun 17, 2017

Commits on Oct 10, 2016

  1. Configuration menu
    Copy the full SHA
    389434c View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2016

  1. Added missing required headers to the Access-Control-Allow-Headers he…

    …ader.
    Aaron Salvo committed Oct 19, 2016
    Configuration menu
    Copy the full SHA
    cdd2ca8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    09282a4 View commit details
    Browse the repository at this point in the history
  3. Added config options to enable CORS and set a regexp for origins that…

    … are allowed to make cross-origin requests.
    Aaron Salvo committed Oct 19, 2016
    Configuration menu
    Copy the full SHA
    237a9af View commit details
    Browse the repository at this point in the history
  4. Reverted to master revision after moving things into more appropriate…

    … places.
    Aaron Salvo committed Oct 19, 2016
    Configuration menu
    Copy the full SHA
    f368d09 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    889ae29 View commit details
    Browse the repository at this point in the history
  6. Added fields to Core and CoreConfig structs to enable CORS if desired…

    …. Added supporting code and funcs.
    Aaron Salvo committed Oct 19, 2016
    Configuration menu
    Copy the full SHA
    8c268e1 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2016

  1. Standardized on allowed origins instead of domains.

    Aaron Salvo committed Oct 20, 2016
    Configuration menu
    Copy the full SHA
    5852bb3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    336ba06 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1fe3605 View commit details
    Browse the repository at this point in the history
  4. Exported the HandleCORS function and moved the invokation into the se…

    …rver command.
    Aaron Salvo committed Oct 20, 2016
    Configuration menu
    Copy the full SHA
    88da2da View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d18ed18 View commit details
    Browse the repository at this point in the history
  6. Added tests for requests that require CORS.

    Aaron Salvo committed Oct 20, 2016
    Configuration menu
    Copy the full SHA
    0f5a7fa View commit details
    Browse the repository at this point in the history
  7. Finalized how and where to apply the CORS headers.

    Aaron Salvo committed Oct 20, 2016
    Configuration menu
    Copy the full SHA
    fd5494b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6c54ded View commit details
    Browse the repository at this point in the history
  9. Removed AllowCORS() func and replaced it with CORSInfo() func. This m…

    …akes more sense.
    Aaron Salvo committed Oct 20, 2016
    Configuration menu
    Copy the full SHA
    9b2f66c View commit details
    Browse the repository at this point in the history
  10. Added configuration for CORS where required.

    Aaron Salvo committed Oct 20, 2016
    Configuration menu
    Copy the full SHA
    6747af0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    23490f1 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2016

  1. Configuration menu
    Copy the full SHA
    092b94d View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2016

  1. Configuration menu
    Copy the full SHA
    a8cca06 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6d80c03 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2016

  1. Configuration menu
    Copy the full SHA
    7ca440a View commit details
    Browse the repository at this point in the history
  2. Refactored to place access to the CORS settings behind the barrier in…

    … the system backend, but accessible from the core.
    Aaron Salvo committed Nov 18, 2016
    Configuration menu
    Copy the full SHA
    71048cf View commit details
    Browse the repository at this point in the history
  3. Move the logic to add the headers for CORS onto to the cors configura…

    …tion struct.
    Aaron Salvo committed Nov 18, 2016
    Configuration menu
    Copy the full SHA
    9a4c9f1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b5e45ba View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1171697 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2016

  1. Added cors command.

    Aaron Salvo committed Nov 23, 2016
    Configuration menu
    Copy the full SHA
    71ec898 View commit details
    Browse the repository at this point in the history
  2. Moved to logic determine when to the apply the CORS headers to the Ap…

    …plyHeaders() func.
    Aaron Salvo committed Nov 23, 2016
    Configuration menu
    Copy the full SHA
    4584a87 View commit details
    Browse the repository at this point in the history
  3. Made the error returned by CORSConfig() a const.

    Aaron Salvo committed Nov 23, 2016
    Configuration menu
    Copy the full SHA
    367a04f View commit details
    Browse the repository at this point in the history
  4. Lots of refactoring and clean up.

    Aaron Salvo committed Nov 23, 2016
    Configuration menu
    Copy the full SHA
    ca2487f View commit details
    Browse the repository at this point in the history
  5. Refactoring and DRYing up.

    Aaron Salvo committed Nov 23, 2016
    Configuration menu
    Copy the full SHA
    4f6b25d View commit details
    Browse the repository at this point in the history
  6. Added tests for the CORS functionality.

    Aaron Salvo committed Nov 23, 2016
    Configuration menu
    Copy the full SHA
    3643a10 View commit details
    Browse the repository at this point in the history
  7. Initial commit.

    Aaron Salvo committed Nov 23, 2016
    Configuration menu
    Copy the full SHA
    a98bba2 View commit details
    Browse the repository at this point in the history
  8. Initial commit.

    Aaron Salvo committed Nov 23, 2016
    Configuration menu
    Copy the full SHA
    e57ac5e View commit details
    Browse the repository at this point in the history
  9. Merge branch 'master' into cors-headers

    Aaron Salvo committed Nov 23, 2016
    Configuration menu
    Copy the full SHA
    5cbc9fe View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2016

  1. Added help text.

    Aaron Salvo committed Nov 24, 2016
    Configuration menu
    Copy the full SHA
    ceb493e View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into cors-headers

    Aaron Salvo committed Nov 24, 2016
    Configuration menu
    Copy the full SHA
    9957df9 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2016

  1. Fixed a bunch of logic bugs that were causing the server to panic aft…

    …er checking the status of the CORS configuration.
    Aaron Salvo committed Nov 28, 2016
    Configuration menu
    Copy the full SHA
    7aa839c View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2016

  1. Removed debug code.

    Aaron Salvo committed Nov 29, 2016
    Configuration menu
    Copy the full SHA
    a974a2b View commit details
    Browse the repository at this point in the history
  2. Fixed logic bug.

    Aaron Salvo committed Nov 29, 2016
    Configuration menu
    Copy the full SHA
    ef2a522 View commit details
    Browse the repository at this point in the history
  3. Added code to ensure the server responds correctly when the CORS requ…

    …est fails.
    Aaron Salvo committed Nov 29, 2016
    Configuration menu
    Copy the full SHA
    b22172e View commit details
    Browse the repository at this point in the history
  4. Skip handling the logical request for preflights.

    Aaron Salvo committed Nov 29, 2016
    Configuration menu
    Copy the full SHA
    dd06686 View commit details
    Browse the repository at this point in the history
  5. Flesh out tests for CORS handler

    Aaron Salvo committed Nov 29, 2016
    Configuration menu
    Copy the full SHA
    0ad8ac3 View commit details
    Browse the repository at this point in the history
  6. 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 committed Nov 29, 2016
    Configuration menu
    Copy the full SHA
    796f0ef View commit details
    Browse the repository at this point in the history
  7. 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 committed Nov 29, 2016
    Configuration menu
    Copy the full SHA
    f1a9225 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'master' into cors-headers

    Aaron Salvo committed Nov 29, 2016
    Configuration menu
    Copy the full SHA
    338fdb1 View commit details
    Browse the repository at this point in the history
  9. Fixed typo in comments.

    Aaron Salvo committed Nov 29, 2016
    Configuration menu
    Copy the full SHA
    ec20fbc View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2016

  1. Removed (presently) unnecessary test.

    Aaron Salvo committed Nov 30, 2016
    Configuration menu
    Copy the full SHA
    582189d View commit details
    Browse the repository at this point in the history
  2. Added documentation for CORS functionality.

    Aaron Salvo committed Nov 30, 2016
    Configuration menu
    Copy the full SHA
    121e0ed View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2016

  1. Merge branch 'master' into cors-headers

    Aaron Salvo committed Dec 2, 2016
    Configuration menu
    Copy the full SHA
    a247952 View commit details
    Browse the repository at this point in the history
  2. Added a new custom header that tells the Vault server to bypass the C…

    …ORS handler for requests from the Vault client.
    Aaron Salvo committed Dec 2, 2016
    Configuration menu
    Copy the full SHA
    50a0c11 View commit details
    Browse the repository at this point in the history
  3. 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 committed Dec 2, 2016
    Configuration menu
    Copy the full SHA
    e5ff73f View commit details
    Browse the repository at this point in the history
  4. 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 committed Dec 2, 2016
    Configuration menu
    Copy the full SHA
    799cc8c View commit details
    Browse the repository at this point in the history
  5. handleCORSDisable was setting the core's corsConfig property to nil i…

    …nstead of calling CORSConfig.Disable(). This was bad.
    Aaron Salvo committed Dec 2, 2016
    Configuration menu
    Copy the full SHA
    673365a View commit details
    Browse the repository at this point in the history
  6. Merge branch 'master' into cors-headers

    Aaron Salvo committed Dec 2, 2016
    Configuration menu
    Copy the full SHA
    02edf8e View commit details
    Browse the repository at this point in the history
  7. Fixed failing tests.

    Aaron Salvo committed Dec 2, 2016
    Configuration menu
    Copy the full SHA
    7122b8c View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2016

  1. Fixed a typo in a comment.

    Aaron Salvo committed Dec 4, 2016
    Configuration menu
    Copy the full SHA
    7eeba1e View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into cors-headers

    Aaron Salvo committed Dec 4, 2016
    Configuration menu
    Copy the full SHA
    d3a5e45 View commit details
    Browse the repository at this point in the history
  3. Vary header will now be returned.

    Aaron Salvo committed Dec 4, 2016
    Configuration menu
    Copy the full SHA
    5c05c80 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2016

  1. Merge branch 'master' into cors-headers

    Aaron Salvo committed Dec 7, 2016
    Configuration menu
    Copy the full SHA
    d809e4e View commit details
    Browse the repository at this point in the history
  2. 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 committed Dec 7, 2016
    Configuration menu
    Copy the full SHA
    3bba275 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2016

  1. Merge branch 'master' into cors-headers

    Aaron Salvo committed Dec 14, 2016
    Configuration menu
    Copy the full SHA
    fd735ba View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2016

  1. Merged master and resolved conflicts.

    Aaron Salvo committed Dec 16, 2016
    Configuration menu
    Copy the full SHA
    7b22c2a View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2016

  1. Merge branch 'master' into cors-headers

    Aaron Salvo committed Dec 18, 2016
    Configuration menu
    Copy the full SHA
    3dba363 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2016

  1. Merge branch 'master' into cors-headers

    Aaron Salvo committed Dec 19, 2016
    Configuration menu
    Copy the full SHA
    ff022b6 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2016

  1. Merge branch 'master' into cors-headers

    Aaron Salvo committed Dec 20, 2016
    Configuration menu
    Copy the full SHA
    edab784 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2017

  1. Merge branch 'master' into cors-headers

    Aaron Salvo committed Jan 10, 2017
    Configuration menu
    Copy the full SHA
    919e916 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2017

  1. Configuration menu
    Copy the full SHA
    1e40dc8 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2017

  1. Merge branch 'master' into cors-headers

    Aaron Salvo committed Jan 18, 2017
    Configuration menu
    Copy the full SHA
    0031687 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2017

  1. Merge branch 'master' into cors-headers

    Aaron Salvo committed Jan 20, 2017
    Configuration menu
    Copy the full SHA
    18bb96b View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2017

  1. Removed unnecessary header.

    Aaron Salvo committed Jan 24, 2017
    Configuration menu
    Copy the full SHA
    13bf4ae View commit details
    Browse the repository at this point in the history
  2. Remove cors CLI command.

    Aaron Salvo committed Jan 24, 2017
    Configuration menu
    Copy the full SHA
    543cebd View commit details
    Browse the repository at this point in the history
  3. Merged the handleCORS() func into wrapCORSHandler(). Was not necessar…

    …y to have two functions.
    Aaron Salvo committed Jan 24, 2017
    Configuration menu
    Copy the full SHA
    027e546 View commit details
    Browse the repository at this point in the history
  4. Removed unnecessary header.

    Aaron Salvo committed Jan 24, 2017
    Configuration menu
    Copy the full SHA
    d838b8e View commit details
    Browse the repository at this point in the history
  5. Move check for preflight requests up to the CORS handler where it bel…

    …onged.
    Aaron Salvo committed Jan 24, 2017
    Configuration menu
    Copy the full SHA
    9d5fb2a View commit details
    Browse the repository at this point in the history
  6. 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 committed Jan 24, 2017
    Configuration menu
    Copy the full SHA
    75955d5 View commit details
    Browse the repository at this point in the history
  7. Refactored help text and code to reflect the fact that CORSConfig.all…

    …owedOrigins is no longer a regular expression.
    Aaron Salvo committed Jan 24, 2017
    Configuration menu
    Copy the full SHA
    e27b992 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1dbb7e1 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2017

  1. New config store for api-managable configurations.

    Aaron Salvo committed Jan 25, 2017
    Configuration menu
    Copy the full SHA
    8c0a7c9 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2017

  1. 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 committed Jan 26, 2017
    Configuration menu
    Copy the full SHA
    8ed7fe8 View commit details
    Browse the repository at this point in the history
  2. Refactored to use new Config structure.

    Aaron Salvo committed Jan 26, 2017
    Configuration menu
    Copy the full SHA
    580ca52 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0ab733d View commit details
    Browse the repository at this point in the history
  4. Simplified things a bit.

    Aaron Salvo committed Jan 26, 2017
    Configuration menu
    Copy the full SHA
    7645af4 View commit details
    Browse the repository at this point in the history
  5. Added code to update the ConfigStore.

    Aaron Salvo committed Jan 26, 2017
    Configuration menu
    Copy the full SHA
    1b48377 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'master' into cors-headers

    Aaron Salvo committed Jan 26, 2017
    Configuration menu
    Copy the full SHA
    cb2ccd7 View commit details
    Browse the repository at this point in the history
  7. Fixed a typo that was making the test fail.

    Aaron Salvo committed Jan 26, 2017
    Configuration menu
    Copy the full SHA
    5f16cf7 View commit details
    Browse the repository at this point in the history
  8. 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 committed Jan 26, 2017
    Configuration menu
    Copy the full SHA
    70b9a9b View commit details
    Browse the repository at this point in the history
  9. Refactored newCORSConfig() out.

    Aaron Salvo committed Jan 26, 2017
    Configuration menu
    Copy the full SHA
    f70c6dc View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2017

  1. Merge branch 'master' into cors-headers

    Aaron Salvo committed Jan 27, 2017
    Configuration menu
    Copy the full SHA
    47f52cb View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2017

  1. Merge branch 'master' into cors-headers

    Aaron Salvo committed Jan 30, 2017
    Configuration menu
    Copy the full SHA
    b7be8c5 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2017

  1. Moved logic of when to apply the CORS headers here. This makes the lo…

    …gic easier to follow.
    Aaron Salvo committed Jan 31, 2017
    Configuration menu
    Copy the full SHA
    0859a85 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0968686 View commit details
    Browse the repository at this point in the history
  3. It is not necessary to set the isEnabled flag on the CORSConfig. This…

    … is done by the CORSConfig.Enable() func.
    Aaron Salvo committed Jan 31, 2017
    Configuration menu
    Copy the full SHA
    26af710 View commit details
    Browse the repository at this point in the history
  4. Creating an instance of a sync.RWMutex for the CORSConfig when the co…

    …re is created.
    Aaron Salvo committed Jan 31, 2017
    Configuration menu
    Copy the full SHA
    4ac6a0b View commit details
    Browse the repository at this point in the history
  5. 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 committed Jan 31, 2017
    Configuration menu
    Copy the full SHA
    e1afa97 View commit details
    Browse the repository at this point in the history
  6. 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 committed Jan 31, 2017
    Configuration menu
    Copy the full SHA
    4b5a32a View commit details
    Browse the repository at this point in the history
  7. Changed docs to reflect the fact that the CORS Update and Delete func…

    …s simply return a 204.
    Aaron Salvo committed Jan 31, 2017
    Configuration menu
    Copy the full SHA
    3127933 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2bfa2e7 View commit details
    Browse the repository at this point in the history
  9. Refactor test to reflect the fact that the CORS Update and Delete met…

    …hods return no data.
    Aaron Salvo committed Jan 31, 2017
    Configuration menu
    Copy the full SHA
    c3447f4 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2017

  1. Merge branch 'master' into cors-headers

    Aaron Salvo committed Feb 1, 2017
    Configuration menu
    Copy the full SHA
    014ab2e View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2017

  1. Merge branch 'master' into cors-headers

    Aaron Salvo committed Feb 5, 2017
    Configuration menu
    Copy the full SHA
    10a5976 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    54ce27b View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2017

  1. 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 committed Feb 7, 2017
    Configuration menu
    Copy the full SHA
    6bc49a5 View commit details
    Browse the repository at this point in the history
  2. Removed the config store.

    Aaron Salvo committed Feb 7, 2017
    Configuration menu
    Copy the full SHA
    bb5d81d View commit details
    Browse the repository at this point in the history
  3. Gave the test a URL that is actually valid.

    Aaron Salvo committed Feb 7, 2017
    Configuration menu
    Copy the full SHA
    9afc279 View commit details
    Browse the repository at this point in the history
  4. Refactored after removing the ConfigStore.

    Aaron Salvo committed Feb 7, 2017
    Configuration menu
    Copy the full SHA
    3b0a32d View commit details
    Browse the repository at this point in the history
  5. 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 committed Feb 7, 2017
    Configuration menu
    Copy the full SHA
    d8a689a View commit details
    Browse the repository at this point in the history
  6. Updated field names.

    Aaron Salvo committed Feb 7, 2017
    Configuration menu
    Copy the full SHA
    077dfad View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2017

  1. Merge branch 'master' into cors-headers

    Aaron Salvo committed Feb 8, 2017
    Configuration menu
    Copy the full SHA
    7f67976 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2017

  1. Configuration menu
    Copy the full SHA
    3d94364 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2017

  1. Merge branch 'master' into cors-headers

    Aaron Salvo committed Feb 28, 2017
    Configuration menu
    Copy the full SHA
    46d451b View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2017

  1. Moved the code to put the headers on the response here. Instead of ma…

    …king it part of the CORSConfig struct.
    Aaron Salvo committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    fca8f36 View commit details
    Browse the repository at this point in the history
  2. CORSConfig.Get() was removed. Updated to reflect that. Fixed a typo i…

    …n vault/core.go.
    Aaron Salvo committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    468fda3 View commit details
    Browse the repository at this point in the history
  3. 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 committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    2a5a5ef View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2017

  1. Was missing a return after writing the headers for a preflight reques…

    …t, which was resulting in an erroneous 405.
    Aaron Salvo committed Mar 3, 2017
    Configuration menu
    Copy the full SHA
    f6f18b8 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into cors-headers

    Aaron Salvo committed Mar 3, 2017
    Configuration menu
    Copy the full SHA
    1adc2d7 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2017

  1. Merge branch 'master' into cors-headers

    Aaron Salvo committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    e7f4662 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into cors-headers

    Aaron Salvo committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    48dd63f View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2017

  1. Merge branch 'master' into cors-headers

    Aaron Salvo committed Mar 9, 2017
    Configuration menu
    Copy the full SHA
    d26b641 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2017

  1. Merge branch 'master' into cors-headers

    Aaron Salvo committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    e55caae View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2017

  1. Merge branch 'master' into cors-headers

    Aaron Salvo committed Mar 20, 2017
    Configuration menu
    Copy the full SHA
    7da6630 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2017

  1. Merge branch 'master' into cors-headers

    Aaron Salvo committed Apr 10, 2017
    Configuration menu
    Copy the full SHA
    54314e0 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2017

  1. Configuration menu
    Copy the full SHA
    ec019db View commit details
    Browse the repository at this point in the history

Commits on May 10, 2017

  1. Configuration menu
    Copy the full SHA
    117326a View commit details
    Browse the repository at this point in the history
  2. Updated imports.

    Aaron Salvo committed May 10, 2017
    Configuration menu
    Copy the full SHA
    607d2d5 View commit details
    Browse the repository at this point in the history
  3. Made parameter to Enable a string slice.

    Aaron Salvo committed May 10, 2017
    Configuration menu
    Copy the full SHA
    ed209aa View commit details
    Browse the repository at this point in the history
  4. Fixed a typo.

    Aaron Salvo committed May 10, 2017
    Configuration menu
    Copy the full SHA
    bd48453 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1bcdf0f View commit details
    Browse the repository at this point in the history
  6. Corrected parameter to func Enable.

    Aaron Salvo committed May 10, 2017
    Configuration menu
    Copy the full SHA
    b5e9b84 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4fbeadb View commit details
    Browse the repository at this point in the history
  8. 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 committed May 10, 2017
    Configuration menu
    Copy the full SHA
    8c9b4e2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    79a87ea View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2017

  1. Configuration menu
    Copy the full SHA
    370585b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3403c2d View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2017

  1. Configuration menu
    Copy the full SHA
    b7be115 View commit details
    Browse the repository at this point in the history