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

Blocking URL seems not working properly #54

Open
ThomAce opened this issue Feb 13, 2023 · 1 comment
Open

Blocking URL seems not working properly #54

ThomAce opened this issue Feb 13, 2023 · 1 comment

Comments

@ThomAce
Copy link

ThomAce commented Feb 13, 2023

URL Filter: /(.images/logo.png.)
Method: *
Text redirect URL: iisstart.png
Text type: plaintext

This gives no effect. I checked with Regex 101 and my regex seems good because I found what I'm looking for. Intentionally, I use in my HTML an unexisting reference to images/logo.png. So, the file is not there and I wanted to put instead another png file. Why is that not working? I tried all of the possibilities.

@dangkyokhoang
Copy link
Owner

If you want to match the exact name images/logo.png, a string filter should be enough. Text redirect URL must be a full URL as follow:

URL filter: images/logo.png
Text redirect: https://site.url/iisstart.png

Details: https://github.com/dangkyokhoang/man-in-the-middle#blocking-rules

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

No branches or pull requests

2 participants