Don't work attachment "delete" button in modal window goes to http (instead https)

UPD: I researched the problem see post below

Hello, If i press delete button in modal window i’ll have the Error

image

image

image

network

image

it’s in Firefox and Chrome

but if i copy the link from delete button (red cross)

and go to URL

attachment will delete successfully

Can anybody help me please?

UPD: I researched the problem see post below

i use XWiki with https protocol

but when i click to “Delete” button in modal window
image

it goes to http url

image

and i get request error

Any body know how can i fix it?