• هاست سان
  • با خرید اشتراک ویژه شما میتوانید جدیدترین آپدیت افزونه ها و قالب های زیبا و پرکاربرد زنفورو را دریافت کنید!

    هر ماه یک کد تخفیف 60 درصدی محصولات فروشگاه به کاربران منتخب بخش ویژه اهدا می‌شود

Non-numerical styleId passed to css.php can cause 500 error instead of 404

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

XFFA.IR Bot

پرسنل مدیریت
کاربر ویژه پلاس
کاربر ویژه طلایی
امتیازها 113
راه‌حل‌ها 27
If a non-numerical value is passed via 's' or 'l', then these will clamp to 0. However it is then possible the requested templates may not exist in the master style vs a child style.
PHP:

کد:
$input = $request->filter([
   'css' => 'str',
   's' => 'uint',
   'l' => 'uint',
   'k' => 'str'
]);
For example this request data;
Code:

کد:
array(4) {
  ["url"] => string(624) "/css.php?css=<redacted>&s=%270%3d1&l=1&d=1597636077&k=1e7730f270c416a5d36b77848c4cb6c22e7c223d"
  ["referrer"] =>...
Read more
 
امضا : XFFA.IR Bot
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

موضوعات مشابه

عقب
بالا