projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21dcf7f
)
Minor code cleanup
author
Alexander Ebert
<ebert@woltlab.com>
Tue, 26 Sep 2017 12:34:38 +0000
(14:34 +0200)
committer
Alexander Ebert
<ebert@woltlab.com>
Tue, 26 Sep 2017 12:34:38 +0000
(14:34 +0200)
wcfsetup/install/files/lib/system/html/input/filter/MessageHtmlInputFilter.class.php
patch
|
blob
|
blame
|
history
wcfsetup/install/files/lib/system/package/validation/PackageValidationArchive.class.php
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/lib/system/html/input/filter/MessageHtmlInputFilter.class.php
b/wcfsetup/install/files/lib/system/html/input/filter/MessageHtmlInputFilter.class.php
index 4e193f06c1acfc71cefee2b41ba27fee308c84a5..86334d9fd486f7bde91c4d860134ae8fcf5c79fb 100644
(file)
--- a/
wcfsetup/install/files/lib/system/html/input/filter/MessageHtmlInputFilter.class.php
+++ b/
wcfsetup/install/files/lib/system/html/input/filter/MessageHtmlInputFilter.class.php
@@
-76,7
+76,7
@@
class MessageHtmlInputFilter implements IHtmlInputFilter {
*/
protected function setAttributeDefinitions(\HTMLPurifier_Config $config) {
$definition = $config->getHTMLDefinition(true);
- wcfDebug($config->get('HTML.AllowedAttributes'));
+
// code
$definition->addAttribute('pre', 'data-file', 'Text');
$definition->addAttribute('pre', 'data-line', 'Number');
diff --git
a/wcfsetup/install/files/lib/system/package/validation/PackageValidationArchive.class.php
b/wcfsetup/install/files/lib/system/package/validation/PackageValidationArchive.class.php
index 265268d4d12e6c41908f7ce368f416bfc6ad4958..7315a37b30c0b23b754e13c7fb447d34cc40d146 100644
(file)
--- a/
wcfsetup/install/files/lib/system/package/validation/PackageValidationArchive.class.php
+++ b/
wcfsetup/install/files/lib/system/package/validation/PackageValidationArchive.class.php
@@
-213,7
+213,6
@@
class PackageValidationArchive implements \RecursiveIterator {
}
if (!$isCompatible) {
-
throw new PackageValidationException(PackageValidationException::INCOMPATIBLE_API_VERSION, ['isOlderVersion' => $isOlderVersion]);
}
}