Closed habilinour closed 3 years ago
can you do a git clone, and make a duff & pull request? It is not trivial to identify the specific lines... there are 7 occurrences of isMatchingPattern in the main code... Once that happens, I can run the flow tests.
So there are seven occurrences of isMatchingPattern, and four occurrences of "Rejected by"... Naturally, it was the last one I looked at... On the other hand, that turned out to be good, because in all the other occurrences, it was already using urlstr, so it is pretty clear that it was a typo in sr_consumer.py. Found it! ran the flow_test... seems to work.
fixed by previous patch for v2... still need to port it forward to v3
This changes how every file is parsed by accept/reject clauses... so if you have existing configurations with
those accepts will no longer match, because the value of the sundew_extension attribute is appended to the URL to be matched.
one can fix by appending .* to the end... but need to review all occurrences.
The code adds the sundew extension to the url but the matching is done against the old url instead of the new one
To consider the sundew extension when evaluating a pattern, the "if statement" should be changed to: