[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: url encode http_url_get_raw



Robert,

Something similar...
http://www.scottklement.com/archives/ftpapi/200906/msg00110.html



> -----Original Message-----
> From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-
> bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Robert Upshall
> Sent: Wednesday, December 16, 2009 7:17 AM
> To: HTTPAPI and FTPAPI Projects
> Subject: Re: url encode http_url_get_raw
> 
> Hi Scott,
> 
> That is true, I wasn't thinking about it like that.
> 
> I looked at the ENCODERR4 src and I see allot of methods I think I need
> to use "url_encode()" on the parm section of my URL but I don't see any
> of the examples using this method?  Is this the method I need to be
> using?  Are there any examples of it being used?
> 
> Thanks,
> Robert
> 
> 
> 
> 
> Scott Klement wrote:
> > Hi Robert,
> >
> > How would HTTPAPI know which parts of your URL are intended to be
> taken
> > literally, and which parts are intended to be encoded?!
> >
> > If you need to URL encode your URL, then please call the URL encoder
> > routines.
> >
> >
> >
> > Robert Upshall wrote:
> >
> >> Do I need to do anything special to make http_url_get_raw encode the
> URL
> >> before it makes the server request?
> >>
> >> Here is call to http_url_get_raw:
> >>
> >>      rc=http_url_get_raw(%trim(url):1:%paddr('INCOMING'));
> >>
> >> I'd like to make sure the field "url" is encoded.
> >>
> >
> > ---------------------------------------------------------------------
> --
> > This is the FTPAPI mailing list.  To unsubscribe, please go to:
> > http://www.scottklement.com/mailman/listinfo/ftpapi
> > ---------------------------------------------------------------------
> --
> >
> >
> 
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------