0
이 오류는 IE7 및 IE8 (및 아마도 IE6)을 제외한 모든 브라우저에서 작동합니다.Internet Explorer에서 유효하지 않은 정품 인증 토큰 오류가 발생합니다
어떤 이유로 내 인증 토큰을 준수하지 않습니다.
모든 아이디어, 디버깅을위한 팁, 해결 방법은 무엇입니까?
내 표준 설정 :
$(document).ajaxSend(function(event, request, settings) {
if (settings.type != 'GET') {
settings.data = (settings.data ? settings.data + "&" : "")
+ "authenticity_token=" + encodeURIComponent(AUTH_TOKEN);
}
});
내 AJAX 호출 :
$(".ajax-referral").click(function(){
$.ajax({
type: "POST",
url: $(this).parent("form").attr("action"),
data:$(this).parent("form").serialize(),
dataType: "script",
});
return false;
});