#294 the 503 page is bent out of shape if url is long

version 3.0
open-accepted
nobody
other (166)
2
2014-08-15
2003-02-23
Roland Rosenfeld
No

I (the Debian package maintainer) received the
following bug report from "Dan Jacobson"
<jidanni@dman.ddts.net> (see
http://bugs.debian.org/177383 for the original bug):

From: "Dan Jacobson" <jidanni@dman.ddts.net>
Subject: Bug#177383: privoxy: the 503 page is bent out
of shape if url is long

Package: privoxy
Version: 3.0.0-3
Severity: minor
File: /usr/sbin/privoxy
Tags: upstream

the following page requires horizontal scrolling in
mozilla probably
die to <table>...

503
This is Privoxy 3.0.0 on debian (127.0.0.1), port 8118,
enabled
Connect failed

Your request for
http://groups.google.com/groups?hl=zh-TW&inlang=zh-TW&lr=&ie=Big5&safe=off&scoring=date&q=faq&btnG=Google%B7j%B4M&meta=group%3Drec.radio.scanner
could not be fulfilled, because the connection to
groups.google.com (216.239.35.119) could not be
established.

Discussion

    • assigned_to: nobody --> oes
    • status: open --> closed-wont-fix
     
  • Logged In: YES
    user_id=78811

    Not sure how to avoid this. Long URLs, being URLs, can't contain whitespace and hence
    can't be word wrapped. So any table (or block level element, including <body> itself) in
    which which such a long string is contained, will expand to accomodate its content if
    it can, exceeding the window size

    We could theoretically place the URL on a layer, textform or any other element which
    can be scrolled by itself, but that would be replacing page-scolling with element-scrolling.

    Tho only way I see to fold unfoldable strings to window width would be to split them by
    a client side JS. Yuck. But I'm not a professional web designer so there might be a more
    elegant solution that I'm not aware of. Suggestions welcome (except marquee). Then
    again, even if achievable, spitting long URLs into multiple lines might not even be
    desirable, since it would technically alter the information and e.g. prevent copy&paste.

    BTW, do you really consider the above URL long? It doesn't span more than half of my
    1920*1200 display.. <eg>

     
  • Logged In: NO

    I know, a folded text representation, but the real thing if
    they click
    on it. every 80 columns add a blank so browsers can
    fold... ok,
    maybe not.

    P.S. I am Dan Jacobson <jidanni@dman.ddts.net> who hates
    using net interfaces for bug reporting. So respond direct
    via email if I am supposed to comment further.

    The debian provider told me to point my modem here.

     
  • Fabian Keil
    Fabian Keil
    2007-02-09

    Logged In: YES
    user_id=875547
    Originator: NO

    While I agree that this is not a serious issue,
    it's clearly a bug that should be fixed someday.

    It's the result of the semantically incorrect
    markup that we use for the templates (putting
    everything in table cells). Using correct markup
    would automatically fix this.

    Long URLs would still cause horizontal
    scrollbars (which is fine by me), but at
    least the rest of the page would stay in
    shape.

     
  • Fabian Keil
    Fabian Keil
    2007-02-09

    • assigned_to: oes --> nobody
    • status: closed-wont-fix --> open-accepted
     
  • Logged In: NO

    erg