Package: w3m
Version: 0.5.2-10
Severity: normal

Trying to "reply" to a comment on a Trac instance doesn't work because
w3m appends parameters to the end of the URL even though it contains a
fragment identifier. To give an example, this is the HTML code for the
first "Reply" button on [1]:

<form name="addreply" method="get" action="#comment">
  <div class="inlinebuttons">
    <input type="hidden" name="replyto" value="description" />
    <input type="submit" name="reply" value="Reply" title="Reply, quoting this 
description" />
  </div>
</form>

When submitting this form, w3m constructs the URL
https://dev.laptop.org/ticket/11558#comment?replyto=description&reply=Reply
and doesn't send the parameters to the server.

Instead, it should have parsed the URL, appended the parameters and
reassembled the URI to the form
https://dev.laptop.org/ticket/11558?replyto=description&reply=Reply#comment .
This would have caused Trac on the server to pre-fill the Comment field
accordingly (with a quote of the ticket description) and w3m to move
the cursor to the Comment field after loading.

Sascha

[1] https://dev.laptop.org/ticket/11558

-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages w3m depends on:
ii  libc6                   2.11.3-3         Embedded GNU C Library: Shared lib
ii  libgc1c2                1:6.8-1.2        conservative garbage collector for
ii  libgpm2                 1.20.4-3.3       General Purpose Mouse - shared lib
ii  libncurses5             5.7+20100313-5   shared libraries for terminal hand
ii  libssl0.9.8             0.9.8o-4squeeze7 SSL shared libraries
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages w3m recommends:
ii  ca-certificates    20090814+nmu3squeeze1 Common CA certificates

Versions of packages w3m suggests:
ii  man-db                        2.5.7-8    on-line manual pager
ii  menu                          2.1.44     generates programs menu for all me
pn  migemo                        <none>     (no description available)
ii  mime-support                  3.48-1     MIME files 'mime.types' & 'mailcap
pn  w3m-el                        <none>     (no description available)
ii  w3m-img                       0.5.2-10   inline image extension support uti

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to