織夢DedeCMS出現Safe Alert: Request Error step 1 ! 或Safe Alert: Request Error step 2!的解決方法
這是由于新版中使用了SQL語句防注入功能引了的安全警告,在自定義模模型中使用了下面名稱
union|sleep|benchmark|load_file|outfile之一
都會引發這個警告,此外采集的內容,如果有 ‘union 這類語法也會出現在這個警告,
目前沒有100%完美的解決方法又能增強安全,又能防止注入
可修改dedecms的db基類把安全檢查關掉
打開include下的dedesql.class.php找到構造函數
新聞熱點
疑難解答