From owner-freebsd-doc Wed Jan 16 1:15:39 2002 Delivered-To: freebsd-doc@freebsd.org Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by hub.freebsd.org (Postfix) with ESMTP id 390DB37B400 for ; Wed, 16 Jan 2002 01:15:35 -0800 (PST) Received: (qmail 13306 invoked from network); 16 Jan 2002 09:15:34 -0000 Received: from unknown (HELO helios.dub.net) ([216.27.176.75]) (envelope-sender ) by mail5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 16 Jan 2002 09:15:34 -0000 Received: by helios.dub.net (Postfix, from userid 1000) id BB67F312A; Wed, 16 Jan 2002 01:15:33 -0800 (PST) Date: Wed, 16 Jan 2002 01:15:33 -0800 From: Jim Mock To: Ted Mittelstaedt Cc: ru@FreeBSD.org, freebsd-doc@FreeBSD.org, freebsd-gnats-submit@FreeBSD.org Subject: Re: docs/33913: GNATS webinterface isn't wrapping lines Message-ID: <20020116091533.GA66873@helios.dub.net> Reply-To: mij@soupnazi.org References: <20020116075545.GB65740@helios.dub.net> <000001c19e6d$20c9bb40$1401a8c0@tedm.placo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000001c19e6d$20c9bb40$1401a8c0@tedm.placo.com> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 16 Jan 2002 at 01:06:48 -0800, Ted Mittelstaedt wrote: > >-----Original Message----- > >From: Jim Mock [mailto:mij@soupnazi.org] > >Sent: Tuesday, January 15, 2002 11:56 PM > >To: Ted Mittelstaedt > >Cc: ru@FreeBSD.org; freebsd-doc@FreeBSD.org; > >freebsd-gnats-submit@FreeBSD.org > >Subject: Re: docs/33913: GNATS webinterface isn't wrapping lines > > > >> > >> Note the addition of the "wrap" directive. > > > >The wrap attribute is not valid in HTML 4.01. > > > > It was not my intent to start a religious argument. User input code > that doesen't massage the input is a coding error - what happens if > some joker decides to put in a javascript in a PR that does something > nasty? Are we checking for that? You'd have to check dosendpr.cgi. > The wrap attribute was NEVER valid in any HTML spec. It is and > remains a quick hack to get out of massaging user input. > > Obviously the best way to solve this would be to further process the > user input on the webform to insert linebreaks in case someone uses a > browser that doesen't do what the code expects is "right" > > But if nobody writes one then what's wrong with a quick hack? What's wrong with it is that when the web site is built, the code is validated, and if non-existant stuff is found, the build fails. If we add the wrap attribute, the build will fail because it isn't valid. > The PR database already has a lot of these unwrapped entries with > lines that scroll off the side of the screen. Which is more important > - making PR's readable or being "right"? That's what horizontal scroll is for :-) Seriously though, patches are welcome to make things readable, but yes, it also must be "right" or there will be problems with the build. - jim -- jim mock http://soupnazi.org/ | jim@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message