Hey,
I creating a UI that has an input box to set a filter. It is then disabled and traffic should be filtered based on it. Along with filtering, any traffic that matches the filter text has a parameter added.
I think this should work in principle, but practice it is usually not working. It sometimes works and sometimes doesn't. Am I doing something wrong?
public
void
AutoTamperRequestBefore(Session oSession)
{
if
(
null
== View || View.TextBoxFilter.Enabled)
return
;
if
(oSession.fullUrl.Contains(View.TextBoxFilter.Text))
{
oSession.fullUrl +=
"&debug=1"
;
}
else
{
oSession.Ignore();
}
}