cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: URL with @ in passwords

From: Alexander Lazic <al-curllibrary_at_none.at>
Date: Thu, 29 Jul 2004 11:20:51 +0200

Hi all,

On Mit 28.07.2004 22:39, Guenter Knauf wrote:
>
>from RFC 1738:
>
>3.1. Common Internet Scheme Syntax

And some sections later:

.

No user name or password is allowed.
.
vvvvvvvvvvv

---
3.3. HTTP
   The HTTP URL scheme is used to designate Internet resources
   accessible using HTTP (HyperText Transfer Protocol).
   The HTTP protocol is specified elsewhere. This specification only
   describes the syntax of HTTP URLs.
   An HTTP URL takes the form:
      http://<host>:<port>/<path>?<searchpart>
   where <host> and <port> are as described in Section 3.1. If :<port>
   is omitted, the port defaults to 80.  No user name or password is
   allowed.  <path> is an HTTP selector, and <searchpart> is a query
   string. The <path> is optional, as is the <searchpart> and its
   preceding "?". If neither <path> nor <searchpart> is present, the "/"
   may also be omitted.
   Within the <path> and <searchpart> components, "/", ";", "?" are
   reserved.  The "/" character may be used within HTTP to designate a
   hierarchical structure.
---
And as you can see there is no '@'-part in this scheme.
al ;-)
Received on 2004-07-29