zz 6 سال پیش
والد
کامیت
f19d0ad41d
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 4 1
      app/Http/Middleware/ReadOauth.php

+ 4 - 1
app/Http/Middleware/ReadOauth.php

@@ -760,12 +760,15 @@ class ReadOauth
         if(empty($from_type)){
             return '';
         }
+        if($request->has('r') ){
+            return '';
+        }
         //Log::info('1111111111111111111111111111111');
         $param = $request->except('_url');
         if (isset($param['bid']))  unset($param['bid']);
         if(isset($param['bid']))  unset($param['bid']);
         unset($param['from_type']);
-        $other_str = 't=1';
+        $other_str = 'r=1';
         if($param){
             $other_str = http_build_query($param);
         }