realbasic-nug
[Top] [All Lists]

Re: Validate URL

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Validate URL
From: Phil M <phil at mobleybros dot com>
Date: Thu, 31 Aug 2006 10:50:54 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20060831064937 dot 2A383BD641 at xprdmxin dot myway dot com> <E8805FF6-7AC1-4C82-B644-A7BC3C6BB59F at mobleybros dot com> <20060831135428 dot 3264776C5A at isis dot visi dot com>
On Aug 31, 2006, at 6:54 AM, Craig A. Finseth wrote:

        ...
   To escape an non-alphanumeric character, you are suppose to use the
   "%" symbol and add the Hexadecimal value.  For example, instead of
   seeing the space character in an URL, you would see it encoded with
   the sequence "%20".

Actually, you can escape a space by using the "+" character.

The RFC 1738 (December 1994) spec formats space characters as %20, and even though a lot of RFC 1738 is obsolete the %20 encoding for space still remains popular. Encoding spaces as "+" is an option, but I think that %20 is more universally compatible since a lot of UNIX programs prefer the older format.

FYI, the latest spec is RFC 3986:

    http://tools.ietf.org/html/rfc3986


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>