Emma Worley

Results 14 comments of Emma Worley

It looks like `name` just becomes `Error` and any custom properties are stripped. It might be possible to parse the `message` property to determine the original error name? It would...

Planning on doing this unless someone else is already on it.

Planning on doing this unless someone else is already on it.

Any update on this? These issues made Photon unusable for me this season and I would love to see them addressed.

Err, with further thinking `body:base64` doesn't really make sense - a new comparison operator like `base64Equals` would make more sense.

For starters, this diff seems to fix the mangling: ```diff --git a/src/models/http/httpProxy.js b/src/models/http/httpProxy.js index 872ef420..04c85da1 100644 --- a/src/models/http/httpProxy.js +++ b/src/models/http/httpProxy.js @@ -79,12 +79,12 @@ function create (logger) { if (originalRequest.body...

Thinking further, comparing multipart/form-data requests is probably going to be more complicated than comparing base64-encoded bodies as the boundary is subject to change between requests. I'll try an injection-based approach...

This would also be useful for building eBPF programs a la aya.