-
Notifications
You must be signed in to change notification settings - Fork 57
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
Ignore appending allow origin if already present #1371
Conversation
public void shouldIgnoreExplicitAllowOrigin() throws Exception | ||
{ | ||
k3po.finish(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
We also need shouldIgnoreAllowOrigin()
that uses server.access.control.cross.origin.yaml
and confirms that *
is not sent, otherwise we're not yet proving which value is taking precedence with only shouldIgnoreExplicitAllowOrigin()
.
"${net}/ignore.explicit.allow.origin/client", | ||
"${app}/ignore.explicit.allow.origin/server", | ||
}) | ||
public void shouldIgnoreAllowOriginWithNoExplicitImplicitOrigin() throws Exception |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public void shouldIgnoreAllowOriginWithNoExplicitImplicitOrigin() throws Exception | |
public void shouldIgnoreExplicitAllowOriginWhenImplicit() throws Exception |
"${net}/ignore.explicit.allow.origin/client", | ||
"${app}/ignore.explicit.allow.origin/server", | ||
}) | ||
public void shouldIgnoreExplicitAllowOrigin() throws Exception |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public void shouldIgnoreExplicitAllowOrigin() throws Exception | |
public void shouldIgnoreExplicitAllowOriginWhenExplicit() throws Exception |
No description provided.