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

fix(apigateway): CORS response body has unexpected space #27219

Merged
merged 3 commits into from
Sep 21, 2023

Commits on Sep 20, 2023

  1. fix(apigateway): CORS response has unexpected space

    Because of the way Velocity templates are parsed, the space
    just before `#end` in the original template was emitted literally
    instead of swallowed.
    
    This caused the `OPTIONS` response to contain a single space (`" "`),
    which makes some validation tools reject the response as invalid.
    
    Rewrite the Velocity template to a syntax we know doesn't cause
    that space to be emitted.
    rix0rrr committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    1b60144 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. Snapshots

    rix0rrr committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    4c6ec59 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b00426e View commit details
    Browse the repository at this point in the history