Thread View: news.software.nntp
17 messages
17 total messages
Started by D. Stussy
Thu, 04 Mar 2010 00:36
Cleanfeed question - HTTP type URLs
Author: D. Stussy
Date: Thu, 04 Mar 2010 00:36
Date: Thu, 04 Mar 2010 00:36
20 lines
1726 bytes
1726 bytes
Variable "$HTTP" = '(?:www\.|https?:\/\/)'; Shouldn't we have "wwws?" in there? Some SSL'ed sites use a "wwws." prefix/hostname. Also, for logical flow, shouldn't we reverse the two parts? $HTTP = '(?:https?:\/\/|wwws?\.)'; makes more sense... Even rarer, some sites use "web" instead of "www". Has that been seen in Usenet spam? For the "stealth URLs", use of IP address should also consider bracketed-IP-addresses, and I don't think we're checking for that. Again, has this been observed? http://127.0.0.1/ technically isn't valid. http://[127.0.0.1]/ is.
Re: Cleanfeed question - HTTP type URLs
Author: Steve Crook
Date: Thu, 04 Mar 2010 11:00
Date: Thu, 04 Mar 2010 11:00
35 lines
2455 bytes
2455 bytes
On Wed, 3 Mar 2010 16:36:24 -0800, D. Stussy wrote in Message-Id: <hmmvaq$kfh$1@snarked.org>: > Shouldn't we have "wwws?" in there? Some SSL'ed sites use a "wwws." > prefix/hostname. I've seen others that use a "www2." prefix. Then there are all the ones like blog.foo.com and wiki.foo.com. I think the key factor is what the client interprets as being a url. I posted <slrnhov2ok.jsj.steve@fleegle.mixmin.net> to alt.testing.testing to see what various clients consider to be a url. * slrn appears to only highlight urls with an http:// prefix * Thunderbird makes http:// and www. prefixs clickable but nothing else * XNews is identical to Thunderbird Based on this, I'm inclined to think the current regex is correct. > Also, for logical flow, shouldn't we reverse the two parts? > > $HTTP = '(?:https?:\/\/|wwws?\.)'; makes more sense... No problem, I'll switch it around. > Even rarer, some sites use "web" instead of "www". Has that been seen in > Usenet spam? Not by me. It's also not treated as a valid URL by the clients I've tested, (without an http:// prefix). > For the "stealth URLs", use of IP address should also consider > bracketed-IP-addresses, and I don't think we're checking for that. Again, > has this been observed? > > http://127.0.0.1/ technically isn't valid. http://[127.0.0.1]/ is. Yes, this also needs expanding to deal with IPv6 syntax. I haven't seen any instances of it yet but no doubt the time will come.
Re: Cleanfeed question - HTTP type URLs
Author: D. Stussy
Date: Thu, 04 Mar 2010 21:51
Date: Thu, 04 Mar 2010 21:51
51 lines
3072 bytes
3072 bytes
"Steve Crook" <steve@mixmin.net> wrote in message news:slrnhov4ll.6dj.steve@news.mixmin.net... > On Wed, 3 Mar 2010 16:36:24 -0800, D. Stussy wrote in > Message-Id: <hmmvaq$kfh$1@snarked.org>: > > Shouldn't we have "wwws?" in there? Some SSL'ed sites use a "wwws." > > prefix/hostname. > > I've seen others that use a "www2." prefix. Then there are all the ones > like blog.foo.com and wiki.foo.com. I think the key factor is what the > client interprets as being a url. > > I posted <slrnhov2ok.jsj.steve@fleegle.mixmin.net> to > alt.testing.testing to see what various clients consider to be a url. > > * slrn appears to only highlight urls with an http:// prefix > * Thunderbird makes http:// and www. prefixs clickable but nothing else > * XNews is identical to Thunderbird > > Based on this, I'm inclined to think the current regex is correct. > > > Also, for logical flow, shouldn't we reverse the two parts? > > > > $HTTP = '(?:https?:\/\/|wwws?\.)'; makes more sense... > > No problem, I'll switch it around. In thinking about the "www#" type case: $HTTP = '(?:https?:\/\/|www[0-9s]?\.)'; ? > > Even rarer, some sites use "web" instead of "www". Has that been seen in > > Usenet spam? > > Not by me. It's also not treated as a valid URL by the clients I've > tested, (without an http:// prefix). I also don't recall seeing it in any spam, but I don't regularly read spam reports for spam which is denied. I only note that I have occasionally seen a site or two use it. > > For the "stealth URLs", use of IP address should also consider > > bracketed-IP-addresses, and I don't think we're checking for that. Again, > > has this been observed? > > > > http://127.0.0.1/ technically isn't valid. http://[127.0.0.1]/ is. > > Yes, this also needs expanding to deal with IPv6 syntax. I haven't seen > any instances of it yet but no doubt the time will come.
Re: Cleanfeed question - HTTP type URLs
Author: Joshua Cranmer
Date: Fri, 05 Mar 2010 04:28
Date: Fri, 05 Mar 2010 04:28
13 lines
1891 bytes
1891 bytes
On 03/03/2010 07:36 PM, D. Stussy wrote: > For the "stealth URLs", use of IP address should also consider > bracketed-IP-addresses, and I don't think we're checking for that. Again, > has this been observed? > > http://127.0.0.1/ technically isn't valid. http://[127.0.0.1]/ is. At least in my news client, the latter is not linkified in plain text. Although I think it is if you wrap it: <http://[127.0.0.1]/>. -- Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald E. Knuth
Re: Cleanfeed question - HTTP type URLs
Author: Matija Nalis
Date: Sun, 07 Mar 2010 20:26
Date: Sun, 07 Mar 2010 20:26
15 lines
1807 bytes
1807 bytes
On Wed, 3 Mar 2010 16:36:24 -0800, D. Stussy <spam+newsgroups@bde-arc.ampr.org> wrote:
> http://127.0.0.1/ technically isn't valid. http://[127.0.0.1]/ is.
Hmm, I would not agree.
My reading of RFC3986 [STD0066] section 3.2.2. is that "host" part of the
URI is that that only IPv6 ("and later") address literals are bracketed in
"[]", and that IPv4 address literals are not.
So http://127.0.0.1/ *is* technically valid, while http://[127.0.0.1]/ is *not*.
Or do you have some other insights ?
--
Opinions above are GNU-copylefted.
Re: Cleanfeed question - HTTP type URLs
Author: D. Stussy
Date: Mon, 08 Mar 2010 00:36
Date: Mon, 08 Mar 2010 00:36
71 lines
4380 bytes
4380 bytes
"Matija Nalis" <mnalis-news@voyager.hr> wrote in message
news:slrnhp82vn.dgn.mnalis-news@eagle102.home.lan...
> On Wed, 3 Mar 2010 16:36:24 -0800, D. Stussy
<spam+newsgroups@bde-arc.ampr.org> wrote:
> > http://127.0.0.1/ technically isn't valid. http://[127.0.0.1]/ is.
>
> Hmm, I would not agree.
>
> My reading of RFC3986 [STD0066] section 3.2.2. is that "host" part of the
> URI is that that only IPv6 ("and later") address literals are bracketed
in
> "[]", and that IPv4 address literals are not.
>
> So http://127.0.0.1/ *is* technically valid, while http://[127.0.0.1]/ is
*not*.
>
> Or do you have some other insights ?
Yes. When IPv4 addresses take the place of a domain name, they need to be
bracketed. Such is true for other things such as mailboxes, the HELO
parameter in SMTP, etc.,....
I agree that many implementations accept the unbracketed form, but that
doesn't mean it's correct.
The syntax for RFC 3986 for "IP-literal" is wrong. It should be:
IP-literal = "[" ( IPv4address / IPv6address / IPvFuture ) "]"
Citations:
- RFC 3696, Section 3: "The domain name can also be replaced by an IP
address in square brackets, ..."
- RFC 2821, Section 4.1.3 (Repeated in 5321, same section): "For IPv4
addresses, this form uses four small decimal integers separated by dots and
enclosed by brackets such as ..."
A "mailto:" URI is a subset of all URIs, and as such, they are required to
have bracketed IP-address literals (from the various SMTP RFCs cited above)
since they are the textual union of a "mailto:" string with a valid mailbox
address. Therefore, the general syntax for URIs must accept this form (a
bracketed IPv4 address), and that's my proof that RFC 3986's syntax
specification is wrong.
The reference to the required bracketing of IPv6 addresses is because they
contain colons, which is also the port specification separator, and thus
bracketing is required to avoid ambiguity. Although there is no such
ambiguity for IPv4, RFC 3986 itself starts section 3.2.2 ("Host") with:
"The host subcomponent of authority is identified by an IP literal
encapsulated within square brackets, ..."
Although it further states, "an IPv4 address in dotted-decimal form," such
need not be a list of alternatives. In English diction and style, such
could be equal to a parenthetical clause which may be expressed using
parentheses except for stress. However, I grant you that the section
further lists the following syntax:
host = IP-literal / IPv4address / reg-name
However, we already know that RFC 3986 has introduced syntactical errors
into the overall URI scheme as such syntax will NOT work for the "mailto"
scheme. The RFC authors are additionally wrong when they say that IPv6
address literals may be distinguished from IPv4 literals by the presence of
the brackets. The brackets do not identify the address literal as IPv6 but
merely as some type of address literal and are necessary for removal of
parsing ambiguity from the ":" port separator. Notice in their RFC
citations, they FAIL to mention any RFC that requires bracketed IP address
literals, yet their syntax encompasses such schemes which require such
(from other RFCs).
Re: Cleanfeed question - HTTP type URLs
Author: John Dunlop
Date: Mon, 08 Mar 2010 12:53
Date: Mon, 08 Mar 2010 12:53
24 lines
2400 bytes
2400 bytes
D. Stussy: > A "mailto:" URI is a subset of all URIs, and as such, they are required > to have bracketed IP-address literals (from the various SMTP RFCs cited > above) since they are the textual union of a "mailto:" string with a > valid mailbox address. Mailto URIs don't have authority components: between "mailto:" and "?" or the end of the URI is the path, and in URI paths square brackets must be percent-encoded. RFC 2368 can't use characters that aren't allowed in URI path components to define subcomponents of the path. So given the mailbox <foo@[127.0.0.1]>, its URI could be <mailto:foo@%5B127.0.0.1%5D> but not <mailto:foo@[127.0.0.1]> because "[" and "]" can't occur raw in URI paths. > Therefore, the general syntax for URIs must accept this form (a > bracketed IPv4 address), and that's my proof that RFC 3986's syntax > specification is wrong. I don't see why RFC 3986 must allow IPv4 addresses to be delimited by square brackets because the syntax in other specifications (e.g., the domain-literal production from RFC 5322) allows it. -- John
Re: Cleanfeed question - HTTP type URLs
Author: D. Stussy
Date: Tue, 09 Mar 2010 09:30
Date: Tue, 09 Mar 2010 09:30
26 lines
2554 bytes
2554 bytes
"John Dunlop" <dunlop.john@ymail.com> wrote in message news:pan.2010.03.08.12.53.04.844533@john.dunlop.name... > > A "mailto:" URI is a subset of all URIs, and as such, they are required > > to have bracketed IP-address literals (from the various SMTP RFCs cited > > above) since they are the textual union of a "mailto:" string with a > > valid mailbox address. > > Mailto URIs don't have authority components: between "mailto:" and "?" or > the end of the URI is the path, and in URI paths square brackets must be > percent-encoded. RFC 2368 can't use characters that aren't allowed in URI > path components to define subcomponents of the path. So given the mailbox > <foo@[127.0.0.1]>, its URI could be <mailto:foo@%5B127.0.0.1%5D> but not > <mailto:foo@[127.0.0.1]> because "[" and "]" can't occur raw in URI paths. > > > Therefore, the general syntax for URIs must accept this form (a > > bracketed IPv4 address), and that's my proof that RFC 3986's syntax > > specification is wrong. > > I don't see why RFC 3986 must allow IPv4 addresses to be delimited by > square brackets because the syntax in other specifications (e.g., the > domain-literal production from RFC 5322) allows it. One word: Consistency.
Re: Cleanfeed question - HTTP type URLs
Author: Matija Nalis
Date: Tue, 09 Mar 2010 19:58
Date: Tue, 09 Mar 2010 19:58
164 lines
9135 bytes
9135 bytes
On Sun, 7 Mar 2010 16:36:22 -0800, D. Stussy <spam+newsgroups@bde-arc.ampr.org> wrote:
> "Matija Nalis" <mnalis-news@voyager.hr> wrote in message
>> My reading of RFC3986 [STD0066] section 3.2.2. is that "host" part of the
>> URI is that that only IPv6 ("and later") address literals are bracketed in
>> "[]", and that IPv4 address literals are not.
>>
>> So http://127.0.0.1/ *is* technically valid, while http://[127.0.0.1]/ is *not*.
>>
>> Or do you have some other insights ?
>
> Yes. When IPv4 addresses take the place of a domain name, they need to be
> bracketed. Such is true for other things such as mailboxes, the HELO
> parameter in SMTP, etc.,....
That is RFC2821 SMTP standard, it has no implication for HTTP URIs we were
talking above ("http://127.0.0.1/" vs. "http://[127.0.0.1]/")
When IPv4 addresses take the place in various protocols used on computers,
they often take other forms. For example:
In RFC1035, IPv4 address must be specified as 4-byte raw values in network
byte order with adequate RDATA TYPE for it.
In RFC3308, IPv4 address must be specified as dotted-quad string value
prefixed with "ip4:" string.
In RFC4545, IPv4 address must be specified as combined entries of
AddressFamilyNumbers and AuthAddress.
and many, many more...
As you see, they way IPv4 address is specified in one protocol, will often
look somewhat (or completely) different in other protocol. The fact that few
of them *might* look somewhat similar, is no particularly good reason to call
for "grand unification" (although it would be nice, the trouble of changing
all that programs would IMHO far outweighs any potential benefit)
> I agree that many implementations accept the unbracketed form, but that
> doesn't mean it's correct.
It means they follow RFC3986, which is (or should be) authoritative in how
URIs should be used. So, I would call such behavior "correct" until such
time an errata for RFC3986 is issued, or RFC3986 is obsoleted or updated by
another URI standard.
> The syntax for RFC 3986 for "IP-literal" is wrong. It should be:
>
> IP-literal = "[" ( IPv4address / IPv6address / IPvFuture ) "]"
If by "wrong" you mean "a typo in RFC3986", I do not think so. It
explicitly says in many ways in section 3.2.2 of RFC3986, both in English
and in BNF. I think that BNF written was exactly what they meant when they
wrote it.
If, however, by "wrong" you mean "I would like it to be different", that may
be (and I might agree), but that does not change the fact that it is *NOT*
the way *current* standards say it should be done (and hence, NOT how most of
the programs implement it).
If you want things to be done that way, you should work with IETF to pass
standard which says so, and then work with implementors to implement it.
Breaking standards because "it looks more aesthetic that way" or "would be
more universal" is IMHO definitely *NOT* a way to go.
> Citations:
> - RFC 3696, Section 3: "The domain name can also be replaced by an IP
> address in square brackets, ..."
> - RFC 2821, Section 4.1.3 (Repeated in 5321, same section): "For IPv4
> addresses, this form uses four small decimal integers separated by dots and
> enclosed by brackets such as ..."
RFC 2821 talks about implementation of SMTP protocol, not HTTP URIs. RFC
3696 in section 3 also talks about e-mail addresses / SMTP (and references
RFC2822 and RFC2821 explicitly).
As I said above, as such they are irrelevant for implementation of HTTP URIs.
> A "mailto:" URI is a subset of all URIs, and as such, they are required to
Yes, it is. More specifically, it is defined by RFC 2368, which in section 2
explicitly specifies "Note that all URL reserved characters in "to" must be
encoded" (and that, according to rfc2396 and it's successor rfc3986 - sec
2.4.3), includes "[" and "]". So if the e-mail address did contain those
characters (as RFC822 IPv4 address literals), they *must* be URL-encoded
before being put in URI.
> have bracketed IP-address literals (from the various SMTP RFCs cited above)
> since they are the textual union of a "mailto:" string with a valid mailbox
> address. Therefore, the general syntax for URIs must accept this form (a
> bracketed IPv4 address), and that's my proof that RFC 3986's syntax
> specification is wrong.
If anything, such reasoning would prove that RFC2821 (PROPOSED STANDARD) and
RFC 3696 (INFORMATIONAL) are wrong. Of those mentioned, only RFC3986 is an
actual *STANDARD* (STD0066) - those two you mention are not (yet), so the
established standard would take precedence over proposed one.
But as I explained above, there is no need for one of the above RFCs to be
wrong, as they all can be correct at the same time (as you must URL-encode
any square brackets present in e-mail address before putting it in mailto:
URI)
> The reference to the required bracketing of IPv6 addresses is because they
> contain colons, which is also the port specification separator, and thus
> bracketing is required to avoid ambiguity. Although there is no such
> ambiguity for IPv4, RFC 3986 itself starts section 3.2.2 ("Host") with:
>
> "The host subcomponent of authority is identified by an IP literal
> encapsulated within square brackets, ..."
But please read that whole section. In explicitly states that for the
purposes of the document it DOES NOT accept "IPv4" as being "IP literal".
I cite: "The host subcomponent of authority is identified by an IP literal
encapsulated within square brackets, an IPv4 address in dotted-decimal form,
or a registered name."
Note the use of "OR", which symbolizes mutually-exclusive options.
Also, even if English can be misinterpreted, the BNF is quite clear and CANNOT
be misinterpreted:
host = IP-literal / IPv4address / reg-name
IP-literal = "[" ( IPv6address / IPvFuture ) "]"
IPvFuture = "v" 1*HEXDIG "." 1*( unreserved / sub-delims / ":" )
As you can see, IPv4 address simply cannot be IP-literal and hence cannot be
put between square brackets under any circumstances.
So IPv4 is explicitly *not* considered IP literal in context of RTC 3968,
and it explicitly says and shows in BNF on several places that IPv4
address must not be bracketed.
> Although it further states, "an IPv4 address in dotted-decimal form," such
> need not be a list of alternatives. In English diction and style, such
> could be equal to a parenthetical clause which may be expressed using
> parentheses except for stress. However, I grant you that the section
> further lists the following syntax:
>
> host = IP-literal / IPv4address / reg-name
Yes, BNF is there precisely to avoid any ambiguities in English language. It
cannot be misinterpreted, and it is quite clear what is it's intention (even
if you or I might personally prefer it to be different).
> However, we already know that RFC 3986 has introduced syntactical errors
> into the overall URI scheme as such syntax will NOT work for the "mailto"
I do not agree with you on that, as I've explained above.
But if you still think RFC 3986 is in error, you're welcome to approach IETF
and ask them to issue the Errata. Let us know of results if you do.
One another point to consider: even if you are correct and RFC 3986 is in
error and Errata is issued; there are many millions of copies of software
that works quite happily and often depends on "http://127.0.0.1/" syntax to
work (they do, you can try it in your browser, MUA, etc).
Breaking that assumption (without veeery long phase-out period after issuing
"correct" standard) would help *nobody* and would make problems for many
people. Why would one do that, especially if intention is (as the subject
might indicate) to make filter that drops spam and allows legitimate posts
(and not another way around) ?
--
Opinions above are GNU-copylefted.
Re: Cleanfeed question - HTTP type URLs
Author: D. Stussy
Date: Wed, 10 Mar 2010 01:44
Date: Wed, 10 Mar 2010 01:44
113 lines
5667 bytes
5667 bytes
"Matija Nalis" <mnalis-news@voyager.hr> wrote in message
news:slrnhpda2k.3b7.mnalis-news@eagle102.home.lan...
> On Sun, 7 Mar 2010 16:36:22 -0800, D. Stussy
<spam+newsgroups@bde-arc.ampr.org> wrote:
> > "Matija Nalis" <mnalis-news@voyager.hr> wrote in message
> >> My reading of RFC3986 [STD0066] section 3.2.2. is that "host" part of
the
> >> URI is that that only IPv6 ("and later") address literals are
bracketed in
> >> "[]", and that IPv4 address literals are not.
> >>
> >> So http://127.0.0.1/ *is* technically valid, while http://[127.0.0.1]/
is *not*.
> >>
> >> Or do you have some other insights ?
> >
> > Yes. When IPv4 addresses take the place of a domain name, they need to
be
> > bracketed. Such is true for other things such as mailboxes, the HELO
> > parameter in SMTP, etc.,....
>
> That is RFC2821 SMTP standard, it has no implication for HTTP URIs we
were
> talking above ("http://127.0.0.1/" vs. "http://[127.0.0.1]/")
You completely missed the point. The URI syntax is required to cover ALL
types of URIs, and that includes the "mailto" scheme, which DOES fall under
the jurisdiction of STD 10 as its remainder is a destination mailbox.
Mailboxes require IP address literals to be bracketed. The syntax given
omits such.
Even if you choose not to reach so far, RFC 3986 itself states that IP
address literals are to be bracketed (in the text, and that means ALL
literals, not just IPv6 ones). The ABNF syntax given is not consistent
with the textual statement.
> When IPv4 addresses take the place in various protocols used on
computers,
> they often take other forms. For example:
>
> In RFC1035, IPv4 address must be specified as 4-byte raw values in
network
> byte order with adequate RDATA TYPE for it.
Non-sequitur: URIs are HUMAN-READABLE forms, not machine readable forms.
> In RFC3308, IPv4 address must be specified as dotted-quad string value
> prefixed with "ip4:" string.
>
> In RFC4545, IPv4 address must be specified as combined entries of
> AddressFamilyNumbers and AuthAddress.
>
> and many, many more...
>
> As you see, they way IPv4 address is specified in one protocol, will
often
> look somewhat (or completely) different in other protocol. The fact that
few
> of them *might* look somewhat similar, is no particularly good reason to
call
> for "grand unification" (although it would be nice, the trouble of
changing
> all that programs would IMHO far outweighs any potential benefit)
One word: Consistency.
> > I agree that many implementations accept the unbracketed form, but that
> > doesn't mean it's correct.
>
> It means they follow RFC3986, which is (or should be) authoritative in
how
> URIs should be used. So, I would call such behavior "correct" until such
> time an errata for RFC3986 is issued, or RFC3986 is obsoleted or updated
by
> another URI standard.
>
> > The syntax for RFC 3986 for "IP-literal" is wrong. It should be:
> >
> > IP-literal = "[" ( IPv4address / IPv6address / IPvFuture ) "]"
>
> If by "wrong" you mean "a typo in RFC3986", I do not think so. It
> explicitly says in many ways in section 3.2.2 of RFC3986, both in English
> and in BNF. I think that BNF written was exactly what they meant when
they
> wrote it.
No, it's not. They said that IP address literals would be bracketed; not
just some of them. They also failed to recognize that for one type of URI,
bracketing even IPv4 literals is a requirement - the "mailto" scheme.
> If, however, by "wrong" you mean "I would like it to be different", that
may
> be (and I might agree), but that does not change the fact that it is
*NOT*
> the way *current* standards say it should be done (and hence, NOT how
most of
> the programs implement it).
Don't try to attribute to me things I didn't say. I said they are wrong
because the syntax doesn't cover all the forms as designated by the other
standards documents. It's not that I want it to be different. It's that
it FAILS to properly define one of the possible formats which other
standards require.
> If you want things to be done that way, you should work with IETF to pass
> standard which says so, and then work with implementors to implement it.
> Breaking standards because "it looks more aesthetic that way" or "would
be
> more universal" is IMHO definitely *NOT* a way to go.
I can't break a standard which itself is broken.
Re: Cleanfeed question - HTTP type URLs
Author: John Dunlop
Date: Wed, 10 Mar 2010 09:29
Date: Wed, 10 Mar 2010 09:29
24 lines
2584 bytes
2584 bytes
D. Stussy: > The URI syntax is required to cover ALL types of URIs, and that includes > the "mailto" scheme, which DOES fall under the jurisdiction of STD 10 as > its remainder is a destination mailbox. Mailboxes require IP address > literals to be bracketed. The syntax given omits such. As far as mailto URIs are concerned, the authority production from RFC 3986 is irrelevant because mailto URIs don't have authority components. The mailbox of a mailto URI is in the path component, where any square brackets are percent-encoded. In other words, the syntax from RFC 2368 does not, in this regard, conflict with the generic URI syntax. > Even if you choose not to reach so far, RFC 3986 itself states that IP > address literals are to be bracketed (in the text, and that means ALL > literals, not just IPv6 ones). The ABNF syntax given is not consistent > with the textual statement. Can you quote which ABNF production and which part of the prose you think are inconsistent with each other? Any inconsistencies should be added to the errata. -- John
Re: Cleanfeed question - HTTP type URLs
Author: Matija Nalis
Date: Wed, 10 Mar 2010 16:24
Date: Wed, 10 Mar 2010 16:24
22 lines
2249 bytes
2249 bytes
On 2010-03-10, D. Stussy <spam+newsgroups@bde-arc.ampr.org> wrote: > "Matija Nalis" <mnalis-news@voyager.hr> wrote in message >> Breaking standards because "it looks more aesthetic that way" or "would be >> more universal" is IMHO definitely *NOT* a way to go. > > I can't break a standard which itself is broken. Again, I do not see the error you talk about, and the RFC 3986 looks consistent to me (both with itself, and with other mentioned standards). But it seems that I'm unable to explain it adequately or for some other reason we're unable to reach agreement on that, so I will stop trying to persuade you to my point of view (as I do not see repeating my arguments would do any good). If you still think RFC 3986 is broken, you should follow instructions on http://www.rfc-editor.org/rfcfaq.html#errata to see how to submit corrections to it. -- Opinions above are GNU-copylefted.
Re: Cleanfeed question - HTTP type URLs
Author: D. Stussy
Date: Wed, 10 Mar 2010 23:17
Date: Wed, 10 Mar 2010 23:17
27 lines
2662 bytes
2662 bytes
"John Dunlop" <dunlop.john@ymail.com> wrote in message news:pan.2010.03.10.09.29.01.183798@john.dunlop.name... > > The URI syntax is required to cover ALL types of URIs, and that includes > > the "mailto" scheme, which DOES fall under the jurisdiction of STD 10 as > > its remainder is a destination mailbox. Mailboxes require IP address > > literals to be bracketed. The syntax given omits such. > > As far as mailto URIs are concerned, the authority production from RFC > 3986 is irrelevant because mailto URIs don't have authority components. > The mailbox of a mailto URI is in the path component, where any square > brackets are percent-encoded. In other words, the syntax from RFC 2368 > does not, in this regard, conflict with the generic URI syntax. > > > Even if you choose not to reach so far, RFC 3986 itself states that IP > > address literals are to be bracketed (in the text, and that means ALL > > literals, not just IPv6 ones). The ABNF syntax given is not consistent > > with the textual statement. > > Can you quote which ABNF production and which part of the prose you think > are inconsistent with each other? Any inconsistencies should be added to > the errata. Previously quoted in this thread. Pay attention.
Re: Cleanfeed question - HTTP type URLs
Author: John Dunlop
Date: Thu, 11 Mar 2010 09:48
Date: Thu, 11 Mar 2010 09:48
16 lines
2057 bytes
2057 bytes
D. Stussy: > [John Dunlop:] > > > Can you quote which ABNF production and which part of the prose you think > > are inconsistent with each other? Any inconsistencies should be added to > > the errata. > > Previously quoted in this thread. Sorry, I read the thread again but I still don't see where the inconsistency in RFC 3986 is. Can you quote them again, just the ABNF production and the text, please? -- John
Re: Cleanfeed question - HTTP type URLs
Author: D. Stussy
Date: Thu, 11 Mar 2010 19:36
Date: Thu, 11 Mar 2010 19:36
25 lines
2327 bytes
2327 bytes
"John Dunlop" <dunlop.john@ymail.com> wrote in message news:e0182067-c099-4531-a2c9-17d4cfdd9205@19g2000yqu.googlegroups.com... > D. Stussy: > > [John Dunlop:] > > > > > Can you quote which ABNF production and which part of the prose you think > > > are inconsistent with each other? Any inconsistencies should be added to > > > the errata. > > > > Previously quoted in this thread. > > Sorry, I read the thread again but I still don't see where the > inconsistency in RFC 3986 is. Can you quote them again, just the ABNF > production and the text, please? For the dim witted: A "mailto:" URL takes a mailbox as its data. In SMTP, mailboxes using domain literals must have those literals in brackets - EVEN for IPv4. The syntax in RFC 3986 does not include IPv4-bracketed address literals. Therefore, the syntax is defective.
Re: Cleanfeed question - HTTP type URLs
Author: Frank Slootweg
Date: Thu, 11 Mar 2010 20:19
Date: Thu, 11 Mar 2010 20:19
36 lines
2738 bytes
2738 bytes
D. Stussy <spam+newsgroups@bde-arc.ampr.org> wrote: > "John Dunlop" <dunlop.john@ymail.com> wrote in message > news:e0182067-c099-4531-a2c9-17d4cfdd9205@19g2000yqu.googlegroups.com... > > D. Stussy: > > > [John Dunlop:] > > > > > > > Can you quote which ABNF production and which part of the prose you > think > > > > are inconsistent with each other? Any inconsistencies should be added > to > > > > the errata. > > > > > > Previously quoted in this thread. > > > > Sorry, I read the thread again but I still don't see where the > > inconsistency in RFC 3986 is. Can you quote them again, just the ABNF > > production and the text, please? > > For the dim witted: > > A "mailto:" URL takes a mailbox as its data. In SMTP, mailboxes using > domain literals must have those literals in brackets - EVEN for IPv4. The > syntax in RFC 3986 does not include IPv4-bracketed address literals. > Therefore, the syntax is defective. For the really dim dim-witted: A "mailto:" URL doesn't specify a *transport protocol*, hence not SMTP. *If* a *MSA* uses SMTP, then *it* must conform to the SMTP requirements for domain literals. Perhaps you should ease off the insults, when time and time again, it's *you* who has his foot in his mouth? Bottom line: RFCs tend to ignore your *opinion* of how things 'should' be.
Re: Cleanfeed question - HTTP type URLs
Author: John Dunlop
Date: Thu, 11 Mar 2010 22:12
Date: Thu, 11 Mar 2010 22:12
27 lines
2722 bytes
2722 bytes
D. Stussy: > A "mailto:" URL takes a mailbox as its data. More or less. Mailto URLs take an optional comma(s)-separated list of zero or more mailboxes in the path component followed by optional headers in the query component. > In SMTP, mailboxes using domain literals must have those literals in > brackets - EVEN for IPv4. SMTP is irrelevant. The mailto URL scheme refers to the mailbox production now defined in RFC 5322, where all domain literals are enclosed in square brackets. > The syntax in RFC 3986 does not include IPv4-bracketed address literals. RFC 3986 doesn't allow IPv4 addresses to be enclosed in square brackets in the host component of URIs. Since mailto URLs don't have host components, the host production from RFC 3986 is irrelevant. Mailboxes are in the path component of mailto URLs, where square brackets are percent-encoded. None of this is relevant to your claim that RFC 3986 is not consistent with itself. -- John
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads