From a8e043ffea8341e7911e16dcd20a5bd0bbd9dcc6 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Sun, 14 Jul 2019 16:02:45 -0400 Subject: [PATCH] Release 4.11.0 Signed-off-by: Edward Z. Yang --- .htaccess.in | 4 +-- current-hashes.txt | 12 +++---- current.ent | 4 +-- live | 2 +- news/2019/0714-4.11.0-released.txt | 30 ++++++++++++++++ news/2019/0714-4.11.0-released.xhtml | 39 +++++++++++++++++++++ release.txt | 7 ++-- releases/htmlpurifier-4.11.0-lite.tar.gz.sig | Bin 0 -> 95 bytes releases/htmlpurifier-4.11.0-lite.zip.sig | Bin 0 -> 95 bytes releases/htmlpurifier-4.11.0-standalone.tar.gz.sig | Bin 0 -> 95 bytes releases/htmlpurifier-4.11.0-standalone.zip.sig | Bin 0 -> 95 bytes releases/htmlpurifier-4.11.0.tar.gz.sig | Bin 0 -> 95 bytes releases/htmlpurifier-4.11.0.zip.sig | Bin 0 -> 95 bytes releases/upload-all.sh | 2 +- 14 files changed, 86 insertions(+), 14 deletions(-) rewrite current-hashes.txt (87%) create mode 100644 news/2019/0714-4.11.0-released.txt create mode 100644 news/2019/0714-4.11.0-released.xhtml create mode 100644 releases/htmlpurifier-4.11.0-lite.tar.gz.sig create mode 100644 releases/htmlpurifier-4.11.0-lite.zip.sig create mode 100644 releases/htmlpurifier-4.11.0-standalone.tar.gz.sig create mode 100644 releases/htmlpurifier-4.11.0-standalone.zip.sig create mode 100644 releases/htmlpurifier-4.11.0.tar.gz.sig create mode 100644 releases/htmlpurifier-4.11.0.zip.sig diff --git a/.htaccess.in b/.htaccess.in index 244283a..a84c9b9 100644 --- a/.htaccess.in +++ b/.htaccess.in @@ -8,9 +8,9 @@ RewriteRule (^|/)\.git/ - [F] # Old release warning rewrites RewriteCond %{REQUEST_METHOD} !=POST -RewriteCond %{REQUEST_URI} !/htmlpurifier-4\.10\.0(\.|-standalone|-lite) +RewriteCond %{REQUEST_URI} !/htmlpurifier-4\.11\.0(\.|-standalone|-lite) RewriteCond %{REQUEST_URI} !/htmlpurifier-trunk(\.|-standalone|-lite) -RewriteCond %{REQUEST_URI} !/phorum-htmlpurifier-4\.10\.0\. +RewriteCond %{REQUEST_URI} !/phorum-htmlpurifier-4\.11\.0\. RewriteCond %{REQUEST_URI} !\.sig$ RewriteRule ^releases/(htmlpurifier-|phorum-) releases/warning.html [N] diff --git a/current-hashes.txt b/current-hashes.txt dissimilarity index 87% index 352643a..b05e433 100644 --- a/current-hashes.txt +++ b/current-hashes.txt @@ -1,6 +1,6 @@ -3ceaa746323235191112b25e30989ed81a197d71 htmlpurifier-4.10.0-lite.tar.gz -f0f999867139f9a6679dde59591f80907ab3d276 htmlpurifier-4.10.0-lite.zip -5a528346eb1fd1bc3f6ca5dff26f08967a078bfe htmlpurifier-4.10.0-standalone.tar.gz -68d0703a2e9b0ed0b4b209e23c40efc8d4e90776 htmlpurifier-4.10.0-standalone.zip -937145a7ed7a8551bf2025aba55298a67f5ef628 htmlpurifier-4.10.0.tar.gz -c03582a060d466f08121f79e71abd59fb94df161 htmlpurifier-4.10.0.zip +56627a43247f3e4b1f4c84194e8eb703850921b3 htmlpurifier-4.11.0-lite.tar.gz +9c7f62220a8114a6c9afe724451e290952852612 htmlpurifier-4.11.0-lite.zip +d26f8335aedbd1e16ecc7915fc2c4a8060443ba3 htmlpurifier-4.11.0-standalone.tar.gz +33bd3e4e6b92ca2314344e6f4adc86c4e1d6582e htmlpurifier-4.11.0-standalone.zip +867777fd9a9233a74e88a57eae376f1ee96fc512 htmlpurifier-4.11.0.tar.gz +9c5c989311b71f99d1162c687ab998361e72cbb5 htmlpurifier-4.11.0.zip diff --git a/current.ent b/current.ent index ae33cf0..6450cb9 100644 --- a/current.ent +++ b/current.ent @@ -1,5 +1,5 @@ - - + + diff --git a/live b/live index d85d39d..83ab08b 160000 --- a/live +++ b/live @@ -1 +1 @@ -Subproject commit d85d39da4576a6934b72480be6978fb10c860021 +Subproject commit 83ab08bc1af7d808a9e0fbf024f1c24bfd73c0a7 diff --git a/news/2019/0714-4.11.0-released.txt b/news/2019/0714-4.11.0-released.txt new file mode 100644 index 0000000..7579c6d --- /dev/null +++ b/news/2019/0714-4.11.0-released.txt @@ -0,0 +1,30 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +HTML Purifier 4.11.0 is a maintenance release, collecting a year +and a half of accumulated bug fixes. Most notable fixes are +compatibility with PHP 7.3, and case-sensitive matching for +the SafeScripting whitelist. There are a number small feature +enhancements, including an expanded supported color list, +initial and inherit support for {min-,max-,}{width,height} +and multidimensional array support for purifyArray. + +Release notes for 4.11.0: + https://github.com/ezyang/htmlpurifier/blob/v4.11.0/NEWS + +Download links for 4.11.0: + http://htmlpurifier.org/releases/htmlpurifier-4.11.0.tar.gz + http://htmlpurifier.org/releases/htmlpurifier-4.11.0.zip + +SHA-1 sums: + 867777fd9a9233a74e88a57eae376f1ee96fc512 htmlpurifier-4.11.0.tar.gz + 9c5c989311b71f99d1162c687ab998361e72cbb5 htmlpurifier-4.11.0.zip + +Other downloads (standalone and lite): + http://htmlpurifier.org/download.html +-----BEGIN PGP SIGNATURE----- + +iF0EARECAB0WIQQ/qOmpc4W2kab8s8upM759hpxI2gUCXSuG3wAKCRCpM759hpxI +2i2CAJ9Ba3sSrBayMtn/2h2chmAfEF8vRgCghE68icX8GWQzbrBgwUt1ArP4SPk= +=o+6q +-----END PGP SIGNATURE----- diff --git a/news/2019/0714-4.11.0-released.xhtml b/news/2019/0714-4.11.0-released.xhtml new file mode 100644 index 0000000..c04870e --- /dev/null +++ b/news/2019/0714-4.11.0-released.xhtml @@ -0,0 +1,39 @@ + + + + + HTML Purifier 4.11.0 released - News - HTML Purifier + + + + + + +
+

HTML Purifier 4.11.0 released

+ +
+

+HTML Purifier 4.11.x is a maintenance release, collecting a year +and a half of accumulated bug fixes. Most notable fixes are +compatibility with PHP 7.3, and case-sensitive matching for +the SafeScripting whitelist. There are a number small feature +enhancements, including an expanded supported color list, +initial and inherit support for {min-,max-,}{width,height} +and multidimensional array support for purifyArray. +

+

+ See NEWS + for a complete changelog. +

+
+
+ + diff --git a/release.txt b/release.txt index 0ed3eb7..667c2ac 100644 --- a/release.txt +++ b/release.txt @@ -6,7 +6,7 @@ In order to perform a release, a few steps have to be taken: [Prepare codebase for release] # [@] Run tests/multitest.php, fix any errors -# [@] Run `php release1-update.php $VERSION` (bumps version numbers) +# [@] Run `php update-for-release $VERSION` (bumps version numbers) # [if necessary] Bump version numbers in TODO # Write new WHATSNEW entry # Commit as "Release x.y.z." and push @@ -52,6 +52,8 @@ In order to perform a release, a few steps have to be taken: - Update .htaccess.in - Full-disclosure for security problems in previous release # Commit and push and mirror.sh + cd /mit/ezyang/web_scripts/htmlpurifier + git pull == Post-procedures == @@ -62,7 +64,8 @@ In order to perform a release, a few steps have to be taken: # Smoketest release by downloading packages, verify contents list, sha1 and sig # Pirum the pear release cd /mit/ezyang/web_scripts/htmlpurifier - php pirum add . HTMLPurifier-4.5.0.tgz + cp ~/Dev/htmlpurifier-pristine/library/HTMLPurifier-4.10.0.tgz . + php pirum add . HTMLPurifier-4.10.0.tgz # Regenerate configuration documentation - Run http://htmlpurifier.org/live/configdoc/generate.php # Update relevant feeder sites/lists diff --git a/releases/htmlpurifier-4.11.0-lite.tar.gz.sig b/releases/htmlpurifier-4.11.0-lite.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000..4e0152f0b2495c24413268c0622ee625c598ba58 GIT binary patch literal 95 zcwXy>WnmCxVvrS6WU*iIa%FMrwu#IBY(BlxcwcSX9FJS9OtIRHml?P?1z;jam>A|4 wW&FzMzI^X$&LQE;PIb4IvOB-M%`iWFYT!PjkDQ{Nx*LQ}d{*D3X?f8f0D-J3aR2}S literal 0 HcwPel00001 diff --git a/releases/htmlpurifier-4.11.0-lite.zip.sig b/releases/htmlpurifier-4.11.0-lite.zip.sig new file mode 100644 index 0000000000000000000000000000000000000000..780ef31c5cf15a9fb05f376fd1fbd09292b7b87c GIT binary patch literal 95 zcwXy>WnmCxVvrS6WU*iIa%FMrwu#IBY(BlxcwcSX9FJS9OtIRHR~WcB1z;iuUJUc2 wHLggt@6mGgt%(b^kG?UJIeDHZ!~E10H%@H$a1<%U}Oq^+L>&oxK`0338E-T(jq literal 0 HcwPel00001 diff --git a/releases/htmlpurifier-4.11.0-standalone.tar.gz.sig b/releases/htmlpurifier-4.11.0-standalone.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000..c29d6e7d8581a073e582667a65aade41494da0ee GIT binary patch literal 95 zcwXy>WnmCxVvrS6WU*iIa%FMrwu#IBY(BlxcwcSX9FJS9OtIRHml?P?1z;l44Gi;4 vg{L?N7R=33c6q?&^e+6QPuN0dhWXjvWxN_K^Ixi6kegQg&8KS8D^nf-1$8G5 literal 0 HcwPel00001 diff --git a/releases/htmlpurifier-4.11.0-standalone.zip.sig b/releases/htmlpurifier-4.11.0-standalone.zip.sig new file mode 100644 index 0000000000000000000000000000000000000000..6c0b42659efbeb962c0fdad77722bc8c65e67d36 GIT binary patch literal 95 zcwXy>WnmCxVvrS6WU*iIa%FMrwu#IBY(BlxcwcSX9FJS9OtIRHR~WcB1z;jQ=?wF; wS*&aYce;l;i@v*>ZZ5Lp>a2%{80P0Lmu}RaKkMOzg(C0x%`Qo~KUwq(03_onUjP6A literal 0 HcwPel00001 diff --git a/releases/htmlpurifier-4.11.0.tar.gz.sig b/releases/htmlpurifier-4.11.0.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000..da124f07334057bd0e52232ce261422e67302562 GIT binary patch literal 95 zcwXy>WnmCxVvrS6WU*iIa%FMrwu#IBY(BlxcwcSX9FJS9OtIRH=NPy+1z;lVhZ*LX w-Vlqu<9_Pb%+_P9C+|C~VY#C$#xPehB{`7wtNRz3;Mp(l&6_{(O?+1c08zXuMF0Q* literal 0 HcwPel00001 diff --git a/releases/htmlpurifier-4.11.0.zip.sig b/releases/htmlpurifier-4.11.0.zip.sig new file mode 100644 index 0000000000000000000000000000000000000000..94aec8e07b6a7ff723e142388bf35400e3e3797c GIT binary patch literal 95 zcwXy>WnmCxVvrS6WU*iIa%FMrwu#IBY(BlxcwcSX9FJS9OtIRHR~WcB1z;i?2N`Cw wU;RIK?y;TBO%jai^U4}!S9woMW|(Jh@@uLjQ`w(yiEhQuPKdY^%$%_W06cjp{{R30 literal 0 HcwPel00001 diff --git a/releases/upload-all.sh b/releases/upload-all.sh index 9eaab5d..47561bb 100755 --- a/releases/upload-all.sh +++ b/releases/upload-all.sh @@ -5,5 +5,5 @@ then exit fi VERSION=$1 -cp htmlpurifier-$1* /mit/ezyang/web_scripts/htmlpurifier/releases +scp htmlpurifier-$1* athena.dialup.mit.edu:~/web_scripts/htmlpurifier/releases #scp htmlpurifier-$1* htmlpurifier.org:/home/ezyang/htmlpurifier.org/releases -- 2.11.4.GIT