Skip to content

feat: Add domain rewrite in body sample plugin #170

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

Merged
merged 12 commits into from
Mar 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions plugins/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ for your own plugin. Extend them to fit your particular use case.
initial numbers will be masked.
* [Validate client token on query string using HMAC](samples/hmac_authtoken):
Check the client request URL for a valid token signed using HMAC.
* [Rewrite domains in html response body](samples/html_domain_rewrite/): Parse
html in response body chunks and replace insances of "foo.com" with
"bar.com" in `<a href=***>`.

# Feature set / ABI

Expand Down
2 changes: 1 addition & 1 deletion plugins/bazel/cargo/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ crates_vendor(
repository_name = "cu", # shorten generated paths for Windows...
tags = ["manual"],
vendor_path = "remote",
supported_platform_triples = ["wasm32-wasi"],
supported_platform_triples = ["x86_64-unknown-linux-gnu", "wasm32-wasi"], # needed x86_64-unknown-linux-gnu to fix issue with getrandom building for wrong environment
)
Loading