summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-02-08 12:33:30 -0500
committerGitHub <noreply@github.com>2021-02-08 12:33:30 -0500
commit0963d39ea66be95d44f8f4ae29fa6f33fc6740b4 (patch)
treef0a24fd1cf8d2889a25704a9b1bcd374a37ed99e /changelog.d
parentMerge pull request #9150 from Yoric/develop-context (diff)
downloadsynapse-0963d39ea66be95d44f8f4ae29fa6f33fc6740b4.tar.xz
Handle additional errors when previewing URLs. (#9333)
* Handle the case of lxml not finding a document tree.
* Parse the document encoding from the XML tag.
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/9333.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/9333.bugfix b/changelog.d/9333.bugfix
new file mode 100644
index 0000000000..c34ba378c5
--- /dev/null
+++ b/changelog.d/9333.bugfix
@@ -0,0 +1 @@
+Fix additional errors when previewing URLs: "AttributeError 'NoneType' object has no attribute 'xpath'" and "ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.".