Re: RES: BUG

2006-08-16 Thread Mauro Tortonesi

Junior + Suporte ha scritto:

Dear Mauro,

Follow the -S output for my command... this user and password is just a test
account, no problems with obfuscation...



C:\Documents and Settings\Luiz Carlos\Desktopwget -S
http://www.tramauniversit
ario.com.br/tuv2/participe/login.jsp?rd=http://www.tramauniversitario.com.br
/tuv
2/enquete/cb/sul/arte.jsp[EMAIL PROTECTED]pass=123qweSubmit
.x=6
Submit.y=1
--12:06:46--
http://www.tramauniversitario.com.br/tuv2/participe/login.jsp?rd=h
ttp://www.tramauniversitario.com.br/tuv2/enquete/cb/sul/arte.jspusername=80
2400
[EMAIL PROTECTED]pass=123qweSubmit.x=6Submit.y=1
   =
[EMAIL PROTECTED]
enquete%2Fcb%2Fsul%2Farte.jsp[EMAIL PROTECTED]pass=123qweSu
bmit
.x=6Submit.y=1'
Resolving www.tramauniversitario.com.br... 200.177.252.35, 200.177.252.36
Connecting to www.tramauniversitario.com.br|200.177.252.35|:80... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 302 Moved Temporarily
  Date: Tue, 11 Jul 2006 15:06:48 GMT
  Server: Apache/2.0.54 (Unix) mod_jk/1.2.14
  X-Powered-By: JSP/2.0
  Set-Cookie: JSESSIONID=F620EF2BED01FE4FD3900E05DB5A2B24; Path=/tuv2
  Set-Cookie: tu=661541|[EMAIL PROTECTED]; Expires=Fri, 22-Oct-2055
15:06:4
8 GMT; Path=
  Location:
http://www.tramauniversitario.com.br/servlet/login.jsp?username=8024
00391%40terra.com.brpass=123qwerd=http%3A%2F%2Fwww.tramauniversitario.com.
br%2
Ftuv2%2Fenquete%2Fcb%2Fsul%2Farte.jsp
  Content-Length: 0
  Keep-Alive: timeout=15, max=100
  Connection: Keep-Alive
  Content-Type: text/html;charset=ISO-8859-1
Error in Set-Cookie, field `Path'Syntax error in Set-Cookie:
tu=661541|802400391
@TERRA.COM.BR; Expires=Fri, 22-Oct-2055 15:06:48 GMT; Path= at position 78.
Location:
http://www.tramauniversitario.com.br/servlet/login.jsp?username=802400
391%40terra.com.brpass=123qwerd=http%3A%2F%2Fwww.tramauniversitario.com.br
%2Ft
uv2%2Fenquete%2Fcb%2Fsul%2Farte.jsp [following]
--12:06:47--
http://www.tramauniversitario.com.br/servlet/login.jsp?username=80
2400391%40terra.com.brpass=123qwerd=http%3A%2F%2Fwww.tramauniversitario.co
m.br
%2Ftuv2%2Fenquete%2Fcb%2Fsul%2Farte.jsp
   =
[EMAIL PROTECTED]@terra.com.brpass=123qwerd=http%3A%
2F%2Fwww.tramauniversitario.com.br%2Ftuv2%2Fenquete%2Fcb%2Fsul%2Farte.jsp'
Reusing existing connection to www.tramauniversitario.com.br:80.
HTTP request sent, awaiting response...
  HTTP/1.1 302 Moved Temporarily
  Date: Tue, 11 Jul 2006 15:06:48 GMT
  Server: Apache/2.0.54 (Unix) mod_jk/1.2.14
  X-Powered-By: JSP/2.0
  Set-Cookie: JSESSIONID=F52D0A41E21B23C4CAE45AD3461A5817; Path=/servlet
  Location:
http://www.tramauniversitario.com.br/tuv2/enquete/cb/sul/arte.jsp
  Content-Length: 0
  Keep-Alive: timeout=15, max=99
  Connection: Keep-Alive
  Content-Type: text/html;charset=ISO-8859-1
Location: http://www.tramauniversitario.com.br/tuv2/enquete/cb/sul/arte.jsp
[fol
lowing]
--12:06:48--
http://www.tramauniversitario.com.br/tuv2/enquete/cb/sul/arte.jsp
   = `arte.jsp'
Reusing existing connection to www.tramauniversitario.com.br:80.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Date: Tue, 11 Jul 2006 15:06:49 GMT
  Server: Apache/2.0.54 (Unix) mod_jk/1.2.14
  X-Powered-By: JSP/2.0
  Set-Cookie: JSESSIONID=1E3B1DF7F0C37BCDA33995A5E39AD0C4; Path=/tuv2
  Connection: close
  Content-Type: text/html;charset=ISO-8859-1
Length: unspecified [text/html]

[ = ] 3,416 --.--K/s

12:06:49 (47.32 MB/s) - `arte.jsp' saved [3416]

Luiz Carlos Zancanella Junior

-Mensagem original-
De: Mauro Tortonesi [mailto:[EMAIL PROTECTED] 
Enviada em: segunda-feira, 10 de julho de 2006 07:04

Para: Tony Lewis
Cc: 'Junior + Suporte'; [EMAIL PROTECTED]
Assunto: Re: BUG

Tony Lewis ha scritto:


Run the command with -d and post the output here.


in this case, -S can provide more useful information than -d. be careful to 
  obfuscate passwords, though!!!


hi junior,

unfortunately i can't reproduce the bug. here's what i get:


[EMAIL PROTECTED]:~/tmp/wgettest$ wget 
'http://www.tramauniversitario.com.br/tuv2/participe/login.jsp?rd=http://www.tramauniversitario.com.br/tuv2/enquete/cb/sul/arte.jsp[EMAIL PROTECTED]pass=123qweSubmit.x=6Submit.y=1'
--15:56:34-- 
http://www.tramauniversitario.com.br/tuv2/participe/login.jsp?rd=http://www.tramauniversitario.com.br/tuv2/enquete/cb/sul/arte.jsp[EMAIL PROTECTED]pass=123qweSubmit.x=6Submit.y=1
   = 
`login.jsp?rd=http:%2F%2Fwww.tramauniversitario.com.br%2Ftuv2%2Fenquete%2Fcb%2Fsul%2Farte.jsp[EMAIL PROTECTED]pass=123qweSubmit.x=6Submit.y=1'
Risoluzione di www.tramauniversitario.com.br in corso... 200.177.252.35, 
200.177.252.36

Connessione a www.tramauniversitario.com.br|200.177.252.35:80... connesso.
HTTP richiesta inviata, aspetto la risposta... 404 /participe/login.jsp
15:56:35 ERRORE 404: /participe/login.jsp.


--
Aequam memento rebus in arduis servare mentem...

Mauro Tortonesi  http://www.tortonesi.com

University of Ferrara - Dept. of Eng.

concurrent use of -O and -N options

2006-08-16 Thread Mauro Tortonesi


as some of you have noticed, i've recently disabled the use of -N in 
combination with -O in soon-to-be-released wget 1.11. in fact, not only 
concurrent use -O and -N has been broken since the dawn of time, but i 
believe it breaks the principle of least suprise and i don't think it is 
widely used.


let me clarify once again that the semantics of -O are intentionally 
similar to a unix shell output redirection. they were not meant to 
specify a custom naming pattern for downloaded resources (future 
versions of wget will likely have a dedicated command-line option for 
this). in this context, i believe that allowing -N to be used w/ -O 
could be very confusing.


Louis Gosselin (included in CC) asked me to reconsider my decision, as 
he believes the concurrent use of -O and -N options is actually very 
helpful. so, before i cross the point of no return and deprecate 
concurrent use of -O and -N, i would like to hear your opinions.


--
Aequam memento rebus in arduis servare mentem...

Mauro Tortonesi  http://www.tortonesi.com

University of Ferrara - Dept. of Eng.http://www.ing.unife.it
GNU Wget - HTTP/FTP file retrieval tool  http://www.gnu.org/software/wget
Deep Space 6 - IPv6 for Linuxhttp://www.deepspace6.net
Ferrara Linux User Group http://www.ferrara.linux.it


Re: concurrent use of -O and -N options

2006-08-16 Thread Steven M. Schweda
From: Mauro Tortonesi

 Louis Gosselin (included in CC) asked me to reconsider my decision, as
 he believes the concurrent use of -O and -N options is actually very
 helpful.

   I thought that he found it useful in Wget 1.8.1, where it apparently
worked differently.  The way it works _now_ (1.10.2), I see no value to
allowing -N with -O.

   But I _do_ see value in VMS support, so my opinion may not be worth
much.



   Steven M. Schweda   [EMAIL PROTECTED]
   382 South Warwick Street(+1) 651-699-9818
   Saint Paul  MN  55105-2547


RE: concurrent use of -O and -N options

2006-08-16 Thread Sandhu, Ranjit
For God's sake apply Steven's VMS support patch ;)  He's only asked for
it a million times.

Ranjit Sandhu

-Original Message-
From: Steven M. Schweda [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 16, 2006 4:16 PM
To: WGET@sunsite.dk
Subject: Re: concurrent use of -O and -N options

From: Mauro Tortonesi

 Louis Gosselin (included in CC) asked me to reconsider my decision, as

 he believes the concurrent use of -O and -N options is actually very 
 helpful.

   I thought that he found it useful in Wget 1.8.1, where it apparently
worked differently.  The way it works _now_ (1.10.2), I see no value to
allowing -N with -O.

   But I _do_ see value in VMS support, so my opinion may not be worth
much.



   Steven M. Schweda   [EMAIL PROTECTED]
   382 South Warwick Street(+1) 651-699-9818
   Saint Paul  MN  55105-2547