Closed luh2 closed 5 years ago
Yeah I see where that could be an issue. However, I think if you just set the end marker to &action=1">
this should work just fine. I know this might be still an issue if that part is not there, but that's very much a corner case.
I recommend using a unique start marker. But the end marker can be whatever fits and doesn't need to be too unique. Also I recommend doing them both as short as possible. And especially I recommend not using the $FILENAME if not absolutely necessary.
Not sure this qualifies as a bug. I get a situation where the output contains the uploaded files like this
So it is clear, that the part that is interesting is the
attachmentId
. It is also obvious, that it can be identified by the name that is right below it.So it makes sense to set start marker to:
end marker to:
What currently now happens is that it will not select
1338
if filename was|ping -n 12.0 localhost|a0LAR.pdf
but ratherSo it matches the first occurrence of both statements. Since there is only one identifying data, I was wondering if it would make sense to select the first occurrence of the one with the file marker (if there is one) and chose the other one as closest preceding or following one (depending of the filename marker was in the end or start marker).