asinshesq wrote:When a user posts text that includes a link, phpbb3 stores the link
No, you mean a URL. A link is a combination of a URL and a display text.
asinshesq wrote:If the post text includes 'http://'
No, if the URL has a protocol -
is only one of many. More precisely a combination of latin letters and ciphers are allowed plus
. Example: s00p://void.void
asinshesq wrote:If the post text does not include 'http://'
More precisely: if no protocol is recognized.
asinshesq wrote:why the actual href in #2 includes 'http://'
Probably reacting on lazy software users requests. If you wouldn't add a protocol, the URL would be relative, which means the protocol would always be the one of the current site. Example: phpbb.com
, so a URL of
would make your browser automatically prepend
to it. Which is fatal, because that site is accessible via
asinshesq wrote:modify post text so that links can be included properly in an email notification
I can't follow you on that: e-mail notofications are plain text and never have post text in it.
asinshesq wrote:it seems to show up as a clickable link in plain text emails
Be aware that e-mail clients might have their own mechanism to make URLs clickable, so in doubt always use an absolute URL.
asinshesq wrote:why does the comment <!-- w --> (or <!-- m -->) get stored
So the board knows how to convert the text back to the actual input if the post is about to be edited.