🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #8641

Re: UrlEscape

#8641
From: Angel
Date: Fri, 01 Oct 2004 14:30
20 lines
1464 bytes
Hans Galema wrote:

> Why are you using so much code just to replace a '%" with '\%' ?

In an URL The '%' character must be replaced with '%25', not with '\%'

> You could just use a stringreplace function or write your
> own pecentageescape() function.
> 
> Hans.
> 

Yes, I know.

You can call it curiosity, but all I wanted to know is if there is some 
way to make it automatically.

Anyway, thanks for your answer.

Angel.
Technical Details
Message-ID: <415d6a4a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!proxad.net!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41595117$1@newsgroups.borland.com> <415d2746@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,5197fec0940ada91
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 01 Oct 2004 16:30:37 +0200
From: Angel <user@example.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: UrlEscape 
References: <41595117$1@newsgroups.borland.com> <415d2746@newsgroups.borland.com>
In-Reply-To: <415d2746@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 213.37.37.240
Message-ID: <415d6a4a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1096641098 213.37.37.240 (1 Oct 2004 07:31:38 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!proxad.net!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail