python-apps icon indicating copy to clipboard operation
python-apps copied to clipboard

[Issue] Extra break in message_id in OWA response

Open arnydo opened this issue 4 years ago • 6 comments

arnydo avatar Apr 05 '21 15:04 arnydo

image

There is an extra break in the message_id field that causes issues when passing to other nodes. Such as marking mail as read.

arnydo avatar Apr 05 '21 15:04 arnydo

So I'm not sure this is actually the case. I believe it may be due to how the view looks. I've been able to mark things as read and such in the past, and am not really sure what to change.

I'll dig in again as I play around with OWA later on :)

frikky avatar Apr 10 '21 18:04 frikky

The more I play with it I find it is not consistent. When it does error out it says the id doesn't exist...which it does. So I think your right, there is something else going on. However, when I add this in between it works every time. echo -n "$read_phishing.messages.#.message_id" | sed -e 's,\\[trn],,g'

arnydo avatar Apr 11 '21 00:04 arnydo

Same issue and work around is working

azgaviperr avatar Apr 12 '21 20:04 azgaviperr

Should probably just strip it in the app itself tbh. Do you mind having a look at how to do that @arnydo?

frikky avatar Apr 18 '21 06:04 frikky

Sure thing!

arnydo avatar Apr 18 '21 14:04 arnydo