#209 pdf files with spaces in the filename are purged

open
nobody
htdig (103)
5
2004-01-29
2004-01-26
No

Email: nslonim@nds.com
OS: RedHat Linux 2.4.9-e.35smp
Htdig: Dig 3.2.0b5
Xpdf: 2.03

Description:
pdf files with spaces in the name are purged during
htpurge as the space is ignored in the filename

Example:
filename David Loveday_150104.pdf
Output from rundig:
.
.
.
htpurge: 80
Deleted, not found: ID: 9 URL:
http://127.0.0.1/newspdfs/DavidLoveday_150104.pdf

Discussion

  • Gilles Detillieux

    Logged In: YES
    user_id=149687

    Technically, this is a bug in your HTML files, not in htdig.
    Spaces in filenames are supposed to be encoded as %20 in
    URLs. Embedded spaces in URLs within an href="..." string
    are a violation of RFC 2396.

    If fixing your HTML files is not an option, see
    ftp://ftp.ccsf.org/htdig-patches/3.2.0b5/fileSpace.0
    for a fix for this in htdig.

     
  • Gilles Detillieux

    • labels: 312272 --> htdig
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks