GitHub user amichalowski opened a pull request:

    https://github.com/apache/wicket/pull/187

    Add origin header to ajax requests in BaseWicketTester

    In commits assigned to this issue:
    
[https://issues.apache.org/jira/browse/WICKET-6245](https://issues.apache.org/jira/browse/WICKET-6245)
    
    There are following changes in `CsrfPreventionRequestCycleListener`:
    - If origin header doesn't exist referer header can be used.
    - Default no origin behavior was changed to abort.
    
    But the wicket tester doesn't send Origin or Referer header.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/amichalowski/wicket 
wicket-tester-origin-header

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/wicket/pull/187.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #187
    
----
commit 893579c88c98b8dfbc6612ff7c2e1b3ac024e6f6
Author: Artur Michałowski <[email protected]>
Date:   2016-11-05T16:59:56Z

    Add origin header to ajax requests in BaseWicketTester

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to