I'm trying to specify replacements in mitmdump but am having trouble getting the syntax right. What I want to do is replace the entire path in a request with a fixed string.
I've tried -R :~bq:/*:/example.html but that results in "Invalid filter pattern: ~bq"
Any pointers?