Hey, I remember this feature was in WGETWIN 1.5.3.1
It was really useful. But it is missing from WGET 1.8.1

I would like to see this feature added back into WGET
because at the moment it is completely broken when the
URL contains a question mark '?'.


Kind regards,
David Robinson

---------- URL.C (1.5.3.1)

        char *url_filename (const struct urlinfo *u)
        {
          .
          .
          .
        #ifdef WINDOWS
          {
            char *p = file;
            for (p = file; *p; p++)
              if ( (*p == '%') || (*p == '?') || (*p == '*') )
                *p = '@';
          }
        #endif /* WINDOWS */
          .
          .
          .
        }

---------- URL.C (1.8.1)

        char *url_filename (const struct url *u)
        {
          .
          .
          .
        #ifdef WINDOWS
          {
            char *p = file;
            for (p = file; *p; p++)
              if (*p == '%')
                *p = '@';
          }
        #endif /* WINDOWS */
          .
          .
          .
        }

----------

        From: Herold Heiko
        Subject: RE: parameters in the URL
        Date: Tue, 18 Dec 2001 07:07:07 -0800 


        Older wget versions did some some other character translation, but
that
        had other bigger sideeffects, and has been partially substituted by
the
        current translation table.
        Some time ago there had been extensive discussions regarding this
(at
        the time of Dan iirc), and there had been some agreement there
wasn't
        any perfect solution working for every case except if wget keeps an
        external database (say, a file in every directory) where to record
        exactly which translations have been made, in order to be able to
send
        back the correct urls to web servers when necessary.
         
        Heiko

        -- 
        -- PREVINET S.p.A.            [EMAIL PROTECTED]
        -- Via Ferretto, 1            ph  x39-041-5907073
        -- I-31021 Mogliano V.to (TV) fax x39-041-5907087
        -- ITALY


>From the wget mailing list archives:
http://www.mail-archive.com/[email protected]/msg02314.html

Reply via email to