Kaspersky Anti-Virus blocking Modal Bootstrap [closed]

-1

My antivirus blocking when opening modal, modal is not even displayed right.

Follow the code below:

Click event:

$("#cartoes_click").click(function () {
    $('.ModalContent_Cartoes').load("/Payment/_Cartoes_Fisica", function () {
        $('#myModal_Cartoes').modal('show');
    });
});

Controller:

[HttpGet]
public PartialViewResult _Cartoes_Fisica()
{
   return PartialView();
}

PartialView:

Here I have a bit of javascript code, which antivirus blocks:

var teste1 = "Número do cartão inválido";

Or

vat teste2 = "Invalid card number";

With these codes above, Kaspersky blocks modal bootstrap, if I do put string like this: var teste1 = qualquer coisa aqui , antivirus does not block.

When I click the button to open modal, it gives these messages below:

Does this mean that an antivirus has a reserved word?

    
asked by anonymous 31.01.2018 / 22:41

1 answer

-1

Friend, kaspersky is a great anti-virus ... I do not use anti-virus because I am my own anti-virus, but your case is very strange, I have never seen anything like this.

Probably the anti-virus is blocked because your site does not have "httpS" even if it is in localhost, since now without HTTPS, they are considered much more insecure,

Try to upload the code into a ssl host, or ... just so you do not get annoyed with the anti-virus, put this as a false positive.

    
31.01.2018 / 22:52