Closed baueric closed 2 days ago
@baueric thanks for opening up the PR! So the errors you encountered are due to forcing encoding on frozen strings on the request
object? And your solution is to create duplicates prior to forcing the encoding?
Correct, and it's better that the Wafris middleware does not have side-effects on the request object data.
@rmcastil any update on this?
Hey Eric,
We have a number of bug fixes that we're trying to release with this. I'm also adding tests around the middleware class in general.
Should have it merged in and a release cut in the next couple of days.
I'll make sure you get credit in the README. Thanks for the PR!
On September 12, 2024, GitHub @.***> wrote:
@rmcastil https://github.com/rmcastil any update on this?
— Reply to this email directly, view it on GitHub https://github.com/Wafris/wafris-rb/pull/81#issuecomment-2345271374, or unsubscribe https://github.com/notifications/unsubscribe- auth/AABF6M5SSMJN2FM3EXPMHZ3ZWENEBAVCNFSM6AAAAABNTTJY22VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBVGI3TCMZXGQ. You are receiving this because you were mentioned.Message ID: @.***>
@baueric merged this in this morning. Thanks for your contribution!
Frozen strings cause errors when being mutated
https://github.com/Wafris/wafris-rb/issues/80