Änderungen https Andy Müller rückgängig gemacht

This commit is contained in:
aschwarz
2023-04-26 13:56:54 +02:00
parent 50ee1824fe
commit df90cea8d1
508 changed files with 2763 additions and 2763 deletions

View File

@ -195,7 +195,7 @@ class HTMLPurifier_Generator
if (!$token instanceof HTMLPurifier_Token_Text) {
return $this->generateFromToken($token);
}
// Thanks <https://lachy.id.au/log/2005/05/script-comments>
// Thanks <http://lachy.id.au/log/2005/05/script-comments>
$data = preg_replace('#//\s*$#', '', $token->data);
return '<!--//--><![CDATA[//><!--' . "\n" . trim($data) . "\n" . '//--><!]]>';
}
@ -275,7 +275,7 @@ class HTMLPurifier_Generator
public function escape($string, $quote = null)
{
// Workaround for APC bug on Mac Leopard reported by sidepodcast
// https://htmlpurifier.org/phorum/read.php?3,4823,4846
// http://htmlpurifier.org/phorum/read.php?3,4823,4846
if ($quote === null) {
$quote = ENT_COMPAT;
}