diff --git a/src/calibre/ebooks/pdf/render/links.py b/src/calibre/ebooks/pdf/render/links.py index 6ec7c500a8..4d0d588771 100644 --- a/src/calibre/ebooks/pdf/render/links.py +++ b/src/calibre/ebooks/pdf/render/links.py @@ -83,6 +83,8 @@ class Links(object): action = Dictionary({ 'Type':Name('Action'), 'S':Name('URI'), }) + # Do not try to normalize/quote/unquote this URL as if it + # has a query part, it will get corrupted action['URI'] = String(url) annot['A'] = action if 'A' in annot or 'Dest' in annot: