امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
The
PHP:
Read more
actionTestUrlUnfurling function will silently fail if given a URL which the URL validator doesn't consider valid.PHP:
کد:
public function actionTestUrlUnfurling()
{
$this->setSectionContext('testUrlUnfurling');
$urlValidator = \XF::app()->validator('Url');
$url = $this->filter('url', 'str');
$url = $urlValidator->coerceValue($url);
if ($this->isPost() && $url && $urlValidator->isValid($url))
{
...
}
else
{
$results = false;
$error = false;
$body =...
Read more
