You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/04/10 00:17:00 UTC

[jira] [Commented] (MRM-2022) beforeSend overwrite prevents repository scan trigger

    [ https://issues.apache.org/jira/browse/MRM-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17520054#comment-17520054 ] 

ASF subversion and git services commented on MRM-2022:
------------------------------------------------------

Commit 7d0aec48c3bf2663b44369612f79553553a8d19b in archiva's branch refs/heads/archiva-2.x-gh-actions from Martin Stockhammer
[ https://gitbox.apache.org/repos/asf?p=archiva.git;h=7d0aec48c ]

[MRM-2022] Switching from beforeSend to ajax handler for header setting


> beforeSend overwrite prevents repository scan trigger
> -----------------------------------------------------
>
>                 Key: MRM-2022
>                 URL: https://issues.apache.org/jira/browse/MRM-2022
>             Project: Archiva
>          Issue Type: Bug
>          Components: repository scanning
>    Affects Versions: 2.2.5
>            Reporter: Cristian Onet
>            Assignee: Martin Schreier
>            Priority: Trivial
>             Fix For: 2.2.7
>
>         Attachments: archiva.patch
>
>
> This is caused by the fact that X-XSRF-TOKEN is set by a handler setup using ajaxSetup that is overwritten by beforeSend I worked around it using the attached [^archiva.patch]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)