https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42731

            Bug ID: 42731
           Summary: Migrate modal-claims.inc $.post to api-client.js
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: REST API
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

modal-claims.inc (line 87) uses $.post('/api/v1/return_claims', ...) directly.
This should be migrated to use api-client.js which already handles CSRF token
injection.

This is a prerequisite for enforcing CSRF protection on the REST API (Bug
34451).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to