@jonathan please review
Waiting on Jenkins build: https://jenkins.bubblev.org/job/bubble-dev-kris/252/
but not sure how it will go as current master build is failing.
Looks good, but what would the regex be if the intent is “delete any cookies NOT belonging to the current domain, or one of its subdomains”?
It seems like we would need some more logic -- if we add these 2 things I think it would work:
The regex can include {{fqdn}} which will be replaced (in mitm-land) with the (regex-escaped) FQDN for the current request
In addition to regex and replacement, add mode which can be match or no_match. Or, alternatively, see if the “regex negation” syntax works in Python’s regex implementation, see: https://stackoverflow.com/questions/2637675/how-to-negate-the-whole-regex ). If regex negation works, that may be easier.
Thoughts?
Looks good, but what would the regex be if the intent is "delete any cookies NOT belonging to the current domain, or one of its subdomains"?
It seems like we would need some more logic -- if we add these 2 things I think it would work:
1. The regex can include `{{fqdn}}` which will be replaced (in mitm-land) with the (regex-escaped) FQDN for the current request
2. In addition to `regex` and `replacement`, add `mode` which can be `match` or `no_match`. Or, alternatively, see if the "regex negation" syntax works in Python's regex implementation, see: https://stackoverflow.com/questions/2637675/how-to-negate-the-whole-regex ). If regex negation works, that may be easier.
Thoughts?
No, let’s do it in this one. And test it :) this will be very cool when it works!
(?!...) is supported in python3’s re
That’s good news. Let’s do that.
> 1. will do. Separate PR? (easier review)
No, let's do it in this one. And test it :) this will be very cool when it works!
> 2. `(?!...)` is supported in python3's `re`
That's good news. Let's do that.
kris
changed title from Add request protector app with cross-domain cookies filtering to WIP: (testing after fqdn part) Add request protector app with cross-domain cookies filtering4 vuotta sitten
kris
changed title from WIP: (testing after fqdn part) Add request protector app with cross-domain cookies filtering to Add request protector app with cross-domain cookies filtering4 vuotta sitten
kris
changed title from Add request protector app with cross-domain cookies filtering to WIP: (waiting on fresh Jenkins build) Add request protector app with cross-domain cookies filtering4 vuotta sitten
kris
changed title from WIP: (waiting on fresh Jenkins build) Add request protector app with cross-domain cookies filtering to Add request protector app with cross-domain cookies filtering4 vuotta sitten
@jonathan please review
Waiting on Jenkins build: https://jenkins.bubblev.org/job/bubble-dev-kris/252/
but not sure how it will go as current master build is failing.
Looks good, but what would the regex be if the intent is “delete any cookies NOT belonging to the current domain, or one of its subdomains”?
It seems like we would need some more logic -- if we add these 2 things I think it would work:
{{fqdn}}
which will be replaced (in mitm-land) with the (regex-escaped) FQDN for the current requestregex
andreplacement
, addmode
which can bematch
orno_match
. Or, alternatively, see if the “regex negation” syntax works in Python’s regex implementation, see: https://stackoverflow.com/questions/2637675/how-to-negate-the-whole-regex ). If regex negation works, that may be easier.Thoughts?
(?!...)
is supported in python3’sre
No, let’s do it in this one. And test it :) this will be very cool when it works!
That’s good news. Let’s do that.
Add request protector app with cross-domain cookies filteringto WIP: (testing after fqdn part) Add request protector app with cross-domain cookies filtering 4 vuotta sittenWIP: (testing after fqdn part) Add request protector app with cross-domain cookies filteringto Add request protector app with cross-domain cookies filtering 4 vuotta sittenAdd request protector app with cross-domain cookies filteringto WIP: (waiting on fresh Jenkins build) Add request protector app with cross-domain cookies filtering 4 vuotta sittenWIP: (waiting on fresh Jenkins build) Add request protector app with cross-domain cookies filteringto Add request protector app with cross-domain cookies filtering 4 vuotta sittenPassing Jenkins build: https://jenkins.bubblev.org/job/bubble-dev-kris/260/
minor changes requested.
Let’s add
RequestProtector
app to all plans.r/sligh/slight/
Actully, I’ll remove this second part completely as I did a larger changes here recently
Reviewers
237e90d126
.