[squid-users] Re: Malformed urls

From: Deepa D <deepndharma@dont-contact.us>
Date: Wed, 18 Feb 2004 10:31:53 +0000 (GMT)

Hi,
  Thanks for the response.
  access.log is listing the urls correctly. Sample :-
http://in.yimg.com/i/in/adv/hp/pbhp_84x28_blu_yahoo.gif

  The redirector code is as follows :-

char buff[MAX_BUFF] = "";
setbuf(stdout, NULL);
  memset(buff,'\0',MAX_BUFF);

  while(fgets(buff, MAX_BUFF, stdin) != NULL) {

     log(LOG_INFO," Client - read from stdin = ",
buff);
}

The log displays the value read from stdin as follows
:-
 
ܱBܱBn.yimg.com/i/in/adv/hp/pbhp_84x28_blu_yahoo.gif
  ^ܱBn.yimg.com/i/in/adv/java/ct_012004.js

  Such behaviour is not consistent either.Plz tell me
how this problem could be solved.

  Regards and TIA,
     Deepa

 --- Henrik Nordstrom <hno@squid-cache.org> wrote: >
On Wed, 18 Feb 2004, Deepa D wrote:
>
> > Hi,
> > Since the past two days, squid is passing lots
> of
> > malformed urls to the redirector program. Samples
> are
> > as follows :-
> >
> >
>
^Hý5^H±^RBongs.tamilsongs.net/songs/17/eahawtawkea/1599.rm
> >
>
^Hý5^H±^RBongs3.tamilsongs.net/songs/17/eahawtawkea/1599.rm
> >
>
^Hý5^H±^RBongs.tamilsongs.net/songs/17/eahawtawkea/1601.rm
> >
>
^Hý5^H±^RBongs3.tamilsongs.net/songs/17/eahawtawkea/1601.rm
> >
>
^Hý5^H±^RBongs.tamilsongs.net/songs/17/eahawtawkea/2473.rm
> >
>
h!^H±^RBww.google.com/search?sourceid=navclient&q=javascript%3Ahistory
>
>
> What does access.log say, and how do you know this
> is what Squid passed to
> the redirector and not the redirector who reads the
> URL wrongly?
>
> Regards
> Henrik
>

________________________________________________________________________
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.
Go to: http://in.insurance.yahoo.com/licspecial/index.html
Received on Wed Feb 18 2004 - 03:32:00 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:02 MST