[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnu-arch] [bug #15507] ftp auth does not support ftp virtualhost se
From: |
Guido Serra |
Subject: |
[Bug-gnu-arch] [bug #15507] ftp auth does not support ftp virtualhost servers |
Date: |
Sun, 22 Jan 2006 21:50:10 +0100 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; it; rv:1.8) Gecko/20051111 Firefox/1.5 |
URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=15507>
Summary: ftp auth does not support ftp virtualhost servers
Project: GNU arch -- a revision control system
Submitted by: zeph
Submitted on: dom 22/01/2006 alle 21:50
Category: tla
Severity: 3 - Normal
Item Group: bug
Status: None
Privacy: Public
Open/Closed: Open
Release:
Fixed Release:
Merge Request?: None
Your Archive Name:
Your Archive Location:
Assigned to: None
_______________________________________________________
Details:
i found a bug in libarch/pfs-ftp.c file.
I had to authenticate against a virtualhost ftp server... the ftp account was
something like address@hidden so the url becames
ftp://address@hidden:address@hidden/directory
You used str_chr_index() when checking if it's anonymous or not... doing so
then you split the string into user and domain:address@hidden Instead
should be address@hidden:password and server.com ...
So just change str_chr_index() with str_chr_rindex() ... and it works
correctly.
----------------------------------------------------------
narnia:~ zeph$ tla make-archive --mirror address@hidden
ftp://address@hidden:address@hidden/arch
ftp_client_connect: ftp error connecting to
guidoserra.it:address@hidden
0: Unable to connect to server
narnia:~ zeph$ tla-FIXED make-archive --mirror address@hidden
ftp://address@hidden:address@hidden/arch
narnia:~ zeph$ tla-FIXED archives
address@hidden
ftp://address@hidden:address@hidden/arch
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: dom 22/01/2006 alle 21:50 Name: pfs-ftp.c Size: 57,24KB By: zeph
fixed file
<http://savannah.gnu.org/bugs/download.php?item_id=15507&item_file_id=3303>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=15507>
_______________________________________________
Messaggio inviato con/da Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-gnu-arch] [bug #15507] ftp auth does not support ftp virtualhost servers,
Guido Serra <=