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

feat: create a Rust sample for block request with particular URL/header plugin #128

Merged

Conversation

walves-cit
Copy link
Contributor

This plugin is a block request with particular URL/header showcase.

Technically, this is performed checking if the client's referer matches an expected domain. If there's a mismatch, a 403 Forbidden error is returned.

This examples contains only a Rust version.

@walves-cit walves-cit marked this pull request as ready for review November 11, 2024 21:53
@walves-cit walves-cit requested a review from a team as a code owner November 11, 2024 21:53
Copy link

snippet-bot bot commented Nov 11, 2024

Here is the summary of changes.

You are about to add 1 region tag.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@walves-cit walves-cit force-pushed the rust-plugins-block-request branch from b2b549a to 80248e9 Compare January 24, 2025 16:56
@dallen68 dallen68 merged commit f75ad9b into GoogleCloudPlatform:main Feb 11, 2025
7 checks passed
@walves-cit walves-cit deleted the rust-plugins-block-request branch February 11, 2025 16:52
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.

2 participants