Skip to content

Commit

Permalink
Security Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kmkalam24 committed Feb 23, 2023
1 parent eb805f0 commit 927214b
Show file tree
Hide file tree
Showing 845 changed files with 74,401 additions and 144 deletions.
157 changes: 91 additions & 66 deletions core/functions.php

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions include/lib/htmlpurifier-4.15.0/.gitattributes
@@ -0,0 +1,23 @@
/.gitattributes export-ignore
/.github export-ignore
/.gitignore export-ignore
/art export-ignore
/benchmarks export-ignore
/configdoc export-ignore
/configdoc/usage.xml -crlf
/docs export-ignore
/Doxyfile export-ignore
/extras export-ignore
/INSTALL* export-ignore
/maintenance export-ignore
/NEWS export-ignore
/package.php export-ignore
/plugins export-ignore
/phpdoc.ini export-ignore
/smoketests export-ignore
/test-* export-ignore
/tests export-ignore
/TODO export-ignore
/update-for-release export-ignore
/WHATSNEW export-ignore
/WYSIWYG export-ignore
36 changes: 36 additions & 0 deletions include/lib/htmlpurifier-4.15.0/.github/workflows/ci.yml
@@ -0,0 +1,36 @@
name: ci

on:
push:
pull_request:

jobs:
linux_tests:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']

name: PHP ${{ matrix.php }}

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
ini-values: error_reporting=E_ALL
extensions: iconv, bcmath, tidy, mbstring, intl

- name: Install dependencies
run: composer install

- name: Configure simpletest
run: cp test-settings.sample.php test-settings.php

- name: Execute Unit tests
run: php tests/index.php
28 changes: 28 additions & 0 deletions include/lib/htmlpurifier-4.15.0/.gitignore
@@ -0,0 +1,28 @@
tags
conf/
test-settings.php
config-schema.php
library/HTMLPurifier/DefinitionCache/Serializer/*/
library/standalone/
library/HTMLPurifier.standalone.php
library/HTMLPurifier*.tgz
library/package*.xml
smoketests/test-schema.html
configdoc/*.html
configdoc/configdoc.xml
docs/doxygen*
*.phpt.diff
*.phpt.exp
*.phpt.log
*.phpt.out
*.phpt.php
*.phpt.skip.php
*.htmlt.ini
*.patch
/*.php
vendor
composer.lock
*.rej
*.orig
*.bak
core
9 changes: 9 additions & 0 deletions include/lib/htmlpurifier-4.15.0/CREDITS
@@ -0,0 +1,9 @@

CREDITS

Almost everything written by Edward Z. Yang (Ambush Commander). Lots of thanks
to the DevNetwork Community for their help (see docs/ref-devnetwork.html for
more details), Feyd especially (namely IPv6 and optimization). Thanks to RSnake
for letting me package his fantastic XSS cheatsheet for a smoketest.

vim: et sw=4 sts=4

0 comments on commit 927214b

Please sign in to comment.