Your message dated Tue, 11 Mar 2014 10:16:48 +0100
with message-id 
<CAPQicOwGhWULiso3e72KWSLh=z9wrmleadnqla2td7roscs...@mail.gmail.com>
and subject line asciidoc: Closing #703575 (no patch needed)
has caused the Debian Bug report #703575,
regarding asciidoc: Broken rendering of URLs which contain e-mail addresses
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
703575: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703575
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: asciidoc
Version: 8.6.7-1
Severity: minor

Dear Maintainer,

Adding the following URL to an asciidoc file and then rendering it with
the slidy backend (and possibly other HTML backends, too) results in
broken HTML code (nested <a href="…">…</a> tags):

Real-life example:
http://qa.debian.org/[email protected]

Shorter PoC example:
http://example.org/[email protected]

This results in the following broken HTML code:

<a href="http://example.org/?l=<a 
href="mailto:example@example";>example@example</a>.com">http://example.org/?l=<a 
href="mailto:example@example";>example@example</a>.com</a>

Interestingly the top-level-domains ".org" and ".com" are not recognized
as part of the (falsely identified) e-mail address.

Workaround: Using "%40" instead of "@":

http://qa.debian.org/developer.php?login=pkg-perl-maintainers%40lists.alioth.debian.org
http://example.org/?l=example%40example.com

Correctly results in:

<a 
href="http://example.org/?l=example%40example.com";>http://example.org/?l=example%40example.com</a>

-- System Information:
Debian Release: 7.0
  APT prefers testing-updates
  APT policy: (902, 'testing-updates'), (901, 'testing-proposed-updates'), 
(900, 'testing'), (800, 'unstable'), (110, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages asciidoc depends on:
ii  python  2.7.3-4

Versions of packages asciidoc recommends:
pn  dblatex        <none>
pn  docbook-utils  <none>
ii  libxml2-utils  2.8.0+dfsg1-7+nmu1
ii  xmlto          0.0.25-2

Versions of packages asciidoc suggests:
ii  source-highlight   3.1.6-1.1
pn  vim-addon-manager  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi,

As the (official/upstream) solution has been provided and do not need
any patch (it just needs an escape of the email address), and as no
remark about the provided solution has been posted, I think we can
close the bug report.

Best regards,
Joseph

--- End Message ---

Reply via email to