From owner-freebsd-cvsweb Sat Jul 13 17: 8:15 2002 Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAB1337B400; Sat, 13 Jul 2002 17:08:11 -0700 (PDT) Received: from random.chezwam.org (cherche-blonde-a-forte-poitrine.chezwam.org [212.11.46.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E96443E3B; Sat, 13 Jul 2002 17:08:10 -0700 (PDT) (envelope-from ydroneaud@meuh.eu.org) Received: from meuh by random.chezwam.org with local (Exim 3.35 #1 (Debian)) id 17TWvd-0007iE-00; Sun, 14 Jul 2002 02:07:57 +0200 To: Ville =?iso-8859-1?q?Skytt=E4?= Cc: Yann Droneaud , freebsd-cvsweb@FreeBSD.org Subject: Re: [PATCH] download + javascript References: <86bs9c6a9y.fsf@random.chezwam.org> <1026600150.1936.19.camel@bobcat.ods.org> From: Yann Droneaud Organization: This is for me Corp., Meuh, TuxFamily.org, Ambre/Chaos Date: 14 Jul 2002 02:07:57 +0200 In-Reply-To: <1026600150.1936.19.camel@bobcat.ods.org> Message-ID: <86wurz189u.fsf@random.chezwam.org> Lines: 74 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-cvsweb@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ville Skyttä writes: > On Fri, 2002-07-12 at 22:01, Yann Droneaud wrote: > > > I got some problems when clicking on "download" links, > > it reports me error. So i try to fix it. Here is the result. > > > > It set the javascript link to be like the html link. > > It seems to work for me. > > Thanks for the patch, Yann! > > While I agree that the HTML and Javascript links should be the same, I'd > be interested to hear exactly what kind of errors have you ran into > without this fix? > > A Javascript error reported by your browser, an error message sent by > the server and/or an error in the server log? > > It would be nice if you could send some HTML source of a page that > causes these errors. I'd like to be sure that this is the correct fix, > and not just a workaround for the problem. > > Cheers, > -- > \/ille Skyttä > > For the others cvsroot than the default, in the 'CVS log' page, when i hit the url download, I simply get 440 error message, because the file i wanted to see doesn't exist. Here is the example of page with bad javascript code:

CVS log for vhffs-dyndns/vhffs-dyndns/ChangeLog

[BACK] Up to [vhffs-deb] / vhffs-dyndns / vhffs-dyndns

Request diff between arbitrary revisions


Default branch: creis, MAIN


Revision 1.1.1.1.2.7 / ( download) - [select for diffs], Tue Feb 19 20:51:32 2002 UTC (4 months, 3 weeks ago) by meuh
Branch: meuh Hop this is useful for you. -- Yann Droneaud +33 6 88 40 82 43 1024D/BEA43321 5D91 B5B0 5137 B8FE 6882 FE19 CAA0 6F05 BEA4 3321 http://www.meuh.eu.org/ http://www-iupmime.univ-lemans.fr/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-cvsweb" in the body of the message