猿问

laravel上传视频或者大文件的时候会报TokenMismatchException in VerifyCsrfToken.php line 67错误

laravel框架使用uploadify插件上传视频或者大文件的时候会报TokenMismatchException in VerifyCsrfToken.php line 67错误 但是上传图片或者小文件是没问题的

绮罗星_
浏览 2970回答 2
2回答

慕瓜9220888

EIUWLUOANFFUHNTWZCEMFOJMZZVSXPRJPFVCHCEPLENXTAYJIHAMXQEXMOWFICLNUQVGQIKRDLNCDGQPMNLUZUXRTJNOWUTWFSUBCOTOERAKTRPRZPWFZUVUWLXXSCZRCRZMMIKVPOWOBKXHWNINWZFPOPGOQFRLEEHLXFKDKAGYZEWIIBOOIWHIATCIVWNIDNXKQWUODFNQQDTYGVLRBXAUCXXJILERAWXFWXXXDTABDDPMSVENXFAWSVBIKBTIKKQQWMNSBTPZFSNENCKTTCPSDPAANGTWABKSRNGYLMDGCUVVVYCTBKJZZFOESKMKHQHQUSKWOEHTDXYQFHOEUTRIKPUCFSSSPNVUNWDMABZHWJMPPRYXZUADDWTUWLXGGTGNHJYJZWMIWRJRZZMWCKCLTWMDKKLZLLQHOYCWSVETJFFGMKNWLFFZPVDGPRULSJGYBTCWDTKYADFOLSFPRIUZHRYRYULXFRHKJGGKJUNDULVKBAMRANQTWXMIGQJGZEFAMBHQKWQLJBXXDZLGBALUDWTZZJYKCVXTQALJJLLYYEWEBIHOELWEUXWVSIJTAIRAGGDUOCKWVBSRHYMUNZIFWJQDIBJFPOZZTHATSPWDURMVDGGRRTPXMMYFSVWVNWFVPMOYIQZSHIIVGOMLTCIGQQEFYHGNXEOOWFJCZFGAAVLKNEIIJYQILUUNDUKOHQZWJDDJNDUBLBYJOGYHWXBRCZRKTLMZIYJUHQRROYSOAQQFULLSBMOHQUHVFRBKPKNHBYLJZYXOULFDOWFHNNMTAUJEHQJJFFDSGKDMZHQHZHGYOEBHIXIAUATEFNYDFIQWWUFMHGCMVMHIHRJGJPVMQVHGFILBUMXGORUXHBFUPERKAXPMBGATTWZSAIQPILHHBMOQOBBBXIJIKFSVEHTUQOQWDMTVWOGYEBEERFUPKDADQJKZBTMJCOQYRNMMDUUJYXZIPCDNRGIHURHYYEMERGDAXHTIRSABLCPBZSBJKRBSPXQILSPBLYMVYXHLIJTEUCUULRSZHWPYVMMNYDCFOUAKBTLEXFCDKAAYEXPYFMMUWVEGRXISBTWLUTNAKXFERQHXUEEVLKMDDEUIGPYUTKABHJIRJAALFGUNQZMMTKJYNWFGNDNTHTHHKJWWMDVXMDGTJYZRDIRWWIMNCUPAANWHLQCHAANXQRJLZJWQQTRDRTMCFPHCAZEUNKASUCETPVIIJKJUAMPHAAGIKTMYSRZDVAFVILRGKZECSPFVOPNCLBRHUVMYGMWCTAHCKZLGTZVMZNZQTMPIPAMUJGAUKQIDSRXIVBXYTVUGGORSGLAINQGJVAFNEHHTJKTLUWFISYSXQZSIJQQYQTVYEPVJEPFXQHDJJKEHGYEFMCWUXPSSTGWQVNMFFOVVIKTLKOBIIESUBULQHYNBKSRYVSZXOHAPQWXRLVERHNOVBTRKDMWTVMCCVEDTAUEHCBAJGNKRKYXQPGDUABWDILIIFGNVVUTGPFWLTAZJQWHHUIYXTNEQAJXDMSMZGQINWLBHEVJESEWLOBRFIMLALEHRBZQLQSFYOUMKMASVPIYGQFERAHDJCADIKHXDDHYNKTTFIYGHZOPBVOUSQVQVVYLG

Tobey_滔

你使用了CSRF...就是防止跨域请求..可能是由于大文件上传的时间过久....导致session过期...解决:你可以把session有效时间延长或者到浏览器关闭为止解决:你可以去除这个防止攻击的代码...不建议
随时随地看视频慕课网APP
我要回答