Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 13787] url_ftp_verify should be stricter when searching for the target

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 13787] url_ftp_verify should be stricter when searching for the target
  • Date: 20 May 2007 17:49:27 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=13787





------- Additional Comments From jakakranjc AT email.si 2007-05-20 12:49 -------
Created an attachment (id=6716)
--> (http://bugs.sourcemage.org/attachment.cgi?id=6716&action=view)
adds a leading and ending space to the search pattern

The listing has the files space delimited, so adding those to the pattern
fixes
it to properly detect bad urls:
navaden@lynxlynx git $ url_ftp_verify ftp://ftp.kde.org/pub/kde/unstable; echo
$?
0
navaden@lynxlynx git $ url_ftp_verify ftp://ftp.kde.org/pub/kde/unst; echo $?
--19:45:01-- ftp://ftp.kde.org/pub/kde/ => `-' Resolving ftp.kde.org...
131.220.16.1, 2001:4ca0:100::10:180 Connecting to
ftp.kde.org|131.220.16.1|:21... connected. Logging in as anonymous ... 220
welcome 250- 250- This is the ftp distribution of 250- 250- The KDE Project
250- http://www.kde.org/ 250- 250-
250--------------------------------------------------------------------------------
250- 250-Please note: 250- 250-- The latest stable version of the KDE base
distribution 250- can be found in the 'stable' subdirectory. 250- 250-- You
can
find a plethora of KDE applications in the 'stable' as 250- well as 'unstable'
subdirectories of this ftp server. 250- 250- The author of an application
determines whether his/her application 250- is placed under the 'stable' or
'unstable' directory tree. The 250- KDE Project itself does not in any way
judge the quality or 250- stability of a particular program. In general
programs in the stable 250- hirarchy are supposed to work with the latest
stable version of the 250- KDE base distribution. 250- 250-- You are welcome
to
upload contributions to 250- 250- ftp://upload.kde.org/incoming 250- 250---
250-Your Friendly ftp.kde.org Archive Maintainers <ftpadmin AT kde.org> 25 227
Entering Passive Mode (131,220,16,1,226,44) -->
1
navaden@lynxlynx git $ url_ftp_verify
ftp://ftp.kde.org/pub/kde/unstable/3.90.1/src/kdewebdev-3.80.3-3.90.1.tar.xdelta;
echo $?
0
navaden@lynxlynx git $ url_ftp_verify
ftp://ftp.kde.org/pub/kde/unstable/3.90.1/src/kdewebdev-3.80.3-3.90.1; echo $?
--19:45:13-- ftp://ftp.kde.org/pub/kde/unstable/3.90.1/src/ => `-' Resolving
ftp.kde.org... 131.220.16.1, 2001:4ca0:100::10:180 Connecting to
ftp.kde.org|131.220.16.1|:21... connected. Logging in as anony 227 Entering
Passive Mode (131,220,16,1,153,29) --> ble/3.90.1/srcsuccessful. --> SYSTER
anonymous
1
navaden@lynxlynx git $

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



  • [SM-Sorcery-Bugs] [Bug 13787] url_ftp_verify should be stricter when searching for the target, bugzilla-daemon, 05/20/2007

Archive powered by MHonArc 2.6.24.

Top of Page