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

[TEX-537] Allow wildcard hostname for unframing gRPC-web+json requests #503

Merged
merged 4 commits into from
Oct 5, 2023

Conversation

timdawborn
Copy link
Contributor

@timdawborn timdawborn commented Oct 5, 2023

This is a small extension upon the functionality added in #501. This PR extends the whitelist of hostnames to allow a * wildcard in order to signify that any hostname should be allowed for grpc-web+json unframing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tests have been duplicated again, but this time to contain a * hostname instead of an explicit hostname.

@timdawborn timdawborn marked this pull request as ready for review October 5, 2023 08:07
@timdawborn timdawborn requested a review from njday October 5, 2023 08:07
Copy link

@njday njday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@timdawborn timdawborn merged commit 1523446 into master Oct 5, 2023
5 checks passed
@timdawborn timdawborn deleted the TEX-537-allow-wildcard-unframing branch October 5, 2023 08:50
timdawborn added a commit that referenced this pull request Jan 5, 2024
Removes the functionality to unframe gRPC-web+json requests (added in
#501 and #503) in favour of the proper solution to handle grpc-web
requests in full (added in #548).

This functionality didn't work quite as expected anyway, so it's good to
clean it up in favour of the the full, proper working solution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants