|
From: <var...@us...> - 2017-05-30 09:00:04
|
Revision: 10014
http://sourceforge.net/p/phpwiki/code/10014
Author: vargenau
Date: 2017-05-30 09:00:02 +0000 (Tue, 30 May 2017)
Log Message:
-----------
URL for image can be /path/to/image.png
Modified Paths:
--------------
trunk/lib/stdlib.php
Modified: trunk/lib/stdlib.php
===================================================================
--- trunk/lib/stdlib.php 2017-05-25 08:15:06 UTC (rev 10013)
+++ trunk/lib/stdlib.php 2017-05-30 09:00:02 UTC (rev 10014)
@@ -416,7 +416,7 @@
// Extract URL
$arr = explode(' ', $url);
if (!empty($arr)) $url = $arr[0];
- if (!IsSafeURL($url)) {
+ if (!IsSafeURL($url, false)) {
$link = HTML::span(array('class' => 'error'), _('Bad URL for image'));
return $link;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|