HttpRewriteWrappedRequest unwrapping

Splash Forums Rewrite Users HttpRewriteWrappedRequest unwrapping

This topic contains 3 replies, has 3 voices, and was last updated by  Lincoln Baxter III 2 years, 11 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #24887

    RedShadow
    Participant

    I have another problem 🙂

    I am using servlet filter that wraps the original request for multipart requests. That filter runs before the RewriteFilter which shouldn’t be a problem in my opinion, but within there HttpRewriteWrappedRequest is created. The problem with that class is, that it unwraps the request it gets in the constructor. I see no reason for doing this and even if there is a reason, I don’t understand why you are just unwrapping once.

    Is this a bug?
    Please enlighten me 🙂

    #24890

    The current version of Rewrite doesn’t do the unwrapping any more. So updating to 2.0.5.Final should fix this issue. 🙂

    https://github.com/ocpsoft/rewrite/commit/92e67ee132c9e6669f44cbda2c4ece8781141a21#L6L42

    #24891

    RedShadow
    Participant

    Great, thanks for the pointer. I’ll try that out.

    #24910

    Yep, that was my fault. I have no idea what I was thinking 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Comments are closed.