URL's containing "javscript" turns into "java_script"

Status
Not open for further replies.
Well, the subject lines says it all. It's not often seen, but I've been bitten by it twice now. Any url, which contains javascript, will be mangled, I guess to protect our cybersafety or some such thing -- :p --

http://www.somewhere.com/javascript/test.html

I guess this is to eliminate the javascript: pseudo urls? then why not employ a bit stricter regex?

/^javascript\:/i

or something like that, not sure. this is just annoying, and if you cant guess, that the forum software did this, a series of posting simply ensues. small quib -- :) --

(not sure of this goes in the new UI, this happens with the old also, so I think it's some more backend stuff?)
 

Zarquon

Ars Tribunus Angusticlavius
8,325
Originally posted by flyingember:
bob.com isn't parsed
but www.com.bob is
(Quote edited to prevent URL expansion, which would completely destroy the context.)

COMMAND.COM is the MS-DOS command interpreter.
Visual Studio.NET is a development environment from Microsoft.
Some of the other domains overlap with common file extensions.

Also, it's reasonable to assume that a server address beginning with 'www.' will speak http, but this does not apply to other servers--not that it matters to InfoPop.
 
Status
Not open for further replies.