Allow local links to documentation

This commit is contained in:
Michal Čihař 2013-09-12 10:03:19 +02:00
parent 13e546f588
commit cdb1f5d4e9

View File

@ -23,6 +23,7 @@ function PMA_checkLink($url)
'https://',
'./url.php?url=http%3A%2F%2F',
'./url.php?url=https%3A%2F%2F',
'./doc/html/',
);
if (defined('PMA_SETUP')) {
$valid_starts[] = '?page=form&';
@ -169,7 +170,7 @@ function PMA_sanitize($message, $escape = false, $safe = false)
* When exporting, avoiding generation of an unexpected double-extension file
*
* @param string $filename The filename
* @param boolean $replaceDots Whether to also replace dots
* @param boolean $replaceDots Whether to also replace dots
*
* @return string the sanitized filename
*