[Bug 1761492] Re: axel tries to download HTTPS URLs via HTTP (including credentials)

2018-04-05 Thread Andreas 'count' Kotes
** Information type changed from Private Security to Public Security

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1761492

Title:
  axel tries to download HTTPS URLs via HTTP (including credentials)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/axel/+bug/1761492/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1761492] Re: axel tries to download HTTPS URLs via HTTP (including credentials)

2018-04-06 Thread Andreas 'count' Kotes
Had a look at the code:

[..]
if( set_url[0] == 'f' ) 



  conn->proto = PROTO_FTP;  


  else if( set_url[0] == 
'h' )   


 
  conn->proto = PROTO_HTTP;
[..]

and

[..]
if( conn->proto == PROTO_FTP )  



  serv = getservbyname( "ftp", "tcp" ); 


  else  



  
  serv = getservbyname( "www", "tcp" ); 


  
[..]

or, on Darwin:

[..]
if( conn->proto == PROTO_HTTP ) 



  conn->port = 80;  


  else  



  
  conn->port = 21;
[..]

m( m( m(

This was not fixed at all before 2.10.

Ouch.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1761492

Title:
  axel tries to download HTTPS URLs via HTTP (including credentials)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/axel/+bug/1761492/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs