Skip to content

Override self.request with the new request when redirecting#117

Open
adammw wants to merge 1 commit intojbeluch:masterfrom
adammw:save_redirect_request
Open

Override self.request with the new request when redirecting#117
adammw wants to merge 1 commit intojbeluch:masterfrom
adammw:save_redirect_request

Conversation

@adammw
Copy link

@adammw adammw commented Jun 29, 2014

This PR overrides self._request in the Plugin when using Plugin.redirect. This fixes a bug where when the request is redirected, although the new path will be invoked, the plugin.request value will be the original request and all query parameters from the redirect will not be set.

/cc @jbeluch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant