From 28ae7dd791c92ca6b657e160f56904762f90fa34 Mon Sep 17 00:00:00 2001 From: name Date: Sat, 30 Sep 2023 13:37:56 +0000 Subject: enhance security by blocking Wolfram's tracker --- rust/wolfree_sed_in_place/src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rust/wolfree_sed_in_place') diff --git a/rust/wolfree_sed_in_place/src/main.rs b/rust/wolfree_sed_in_place/src/main.rs index f20393f..4f16a42 100644 --- a/rust/wolfree_sed_in_place/src/main.rs +++ b/rust/wolfree_sed_in_place/src/main.rs @@ -63,6 +63,10 @@ fn main() -> Result<(), Box> { "'www.wolframalpha.com'" )?; + // block Wolfram trackers + // https://wal.wolfram.com/js/3.0.0/wal.js + sed("./docusaurus/static/input/", "wal.wolfram.com", "data:,//")?; + Ok(()) } -- cgit v1.2.3