incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject git commit: [#7239] upgrade to latest feedparser
Date Wed, 05 Mar 2014 19:05:24 GMT
Repository: incubator-allura
Updated Branches:
  refs/heads/db/7239 [created] 614cf004b


[#7239] upgrade to latest feedparser


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/614cf004
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/614cf004
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/614cf004

Branch: refs/heads/db/7239
Commit: 614cf004b6a389ef0373fc4221af291a338fcf9f
Parents: 2bc9d55
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Wed Mar 5 19:05:09 2014 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Wed Mar 5 19:05:09 2014 +0000

----------------------------------------------------------------------
 Allura/allura/lib/utils.py | 2 +-
 requirements-common.txt    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/614cf004/Allura/allura/lib/utils.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/utils.py b/Allura/allura/lib/utils.py
index ae11ef4..2096daa 100644
--- a/Allura/allura/lib/utils.py
+++ b/Allura/allura/lib/utils.py
@@ -545,5 +545,5 @@ class ForgeHTMLSanitizer(_HTMLSanitizer):
             self.acceptable_elements.remove('iframe')
         if (tag == 'iframe') and (dict(attrs).get('src', '').startswith('https://www.youtube.com/embed/')
or
                                   dict(attrs).get('src', '').startswith('https://www.gittip.com/')):
-            self.acceptable_elements.append('iframe')
+            self.acceptable_elements.add('iframe')
         _HTMLSanitizer.unknown_starttag(self, tag, attrs)

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/614cf004/requirements-common.txt
----------------------------------------------------------------------
diff --git a/requirements-common.txt b/requirements-common.txt
index 82be773..a5d3255 100644
--- a/requirements-common.txt
+++ b/requirements-common.txt
@@ -12,7 +12,7 @@ decorator==3.3.2
 docutils==0.9
 EasyWidgets==0.2dev-20130716
 faulthandler==2.1
-feedparser==5.0.1
+feedparser==5.1.3
 FormEncode==1.2.4
 # dep of Creoleparser
 Genshi==0.6


Mime
View raw message