Author |
Topic |
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 15 March 2003 : 18:40:32
|
Went with Richards suggested fix.
Fixed in 3.4.04. |
Support Snitz Forums
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 15 March 2003 : 18:43:53
|
we might need to come up with something different, see here:
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=42579
Maybe we should support vbscript Regular Expressions? Have v3.4.03 be the last version that uses javascript Regular Expressions? |
|
|
Deleted
deleted
4116 Posts |
Posted - 15 March 2003 : 18:53:22
|
Reverted previous changes and added
(UCase(Right(strArray(Counter-1), 1)) <> "-") and _
(UCase(Right(strArray(Counter-1), 1)) <> "=") and _
as suggested in v4b04 alpha 04...
|
Stop the WAR! |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 15 March 2003 : 18:56:36
|
But servers running the older versions of the scripting engine won't be able to use it. It had been suggested we do a check to see if regular expressions are supported by the server and if so use the Regular Expressions, otherwise, go with the older way of checking for a url. |
Support Snitz Forums
|
|
|
Deleted
deleted
4116 Posts |
Posted - 15 March 2003 : 19:07:52
|
I'd support any move towards using higher level of technology, provided that we also check the availability of them...
|
Stop the WAR! |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 15 March 2003 : 19:53:35
|
I would like to find a solution that covers everything. It seems like something else is always popping up and we have to find a way around it. |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 15 March 2003 : 21:02:43
|
If Regular Expressions are to be used, the Pattern I posted can cover most formats and can be modified easily for Url's beginning with ftp, file etc. and other Url formats. |
|
|
throwithere
Starting Member
10 Posts |
Posted - 20 March 2003 : 19:32:41
|
if you would like to cover everything, how will it be possible to differentiate a decimal from an ip address? there are so many things to consider. urls can be: microsoft.com www.microsoft.com 202.138.123.45 10.0.0.1 e-www.something.com www.something.com/www.nothing/www.asp?q1=value1&q2=value2#anchor
how about: 202.1a 202.138.123.45-b or things like these that are really indexes of something but are not urls?
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 20 March 2003 : 19:44:00
|
the only way an IP Address will be processed as a URL is if it is prefixed by http:// , ftp:// or file:///
same thing goes for things like microsoft.com. If the www or http:// is left off, then it's not going to be processed as a URL. |
|
|
LazySumo
Starting Member
6 Posts |
Posted - 21 January 2004 : 22:52:45
|
Folks, I'm still having an issue with this. I am trying to put an image link that includes an equals sign in it and it's just not working. I've added the two lines that Richard suggests above and those don't seem to help. Here is the line I am trying to add (curley brackets used so that the forums won't abuse the link):
{img}http://aaotracker.4players.de/trackersig.php?userid=106810"{/img}
However, the forum is eating that last equals sign. If you look at the source HTML that is sent to the client you see this:
How can I allow that equal? Thanks for the response. |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 21 January 2004 : 23:09:27
|
image tags are processed with the ReplaceImageTags(fString) function.
In that function is the following line:
strUrlText = replace(strUrlText, "=", " ", 1, -1, 1) ' ## filter out =
you would have to comment it out to be able to use the = sign in a image url.
|
|
|
LazySumo
Starting Member
6 Posts |
Posted - 22 January 2004 : 01:10:00
|
Nope, even after changing that the URL isn't working. Still the same thing. |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 22 January 2004 : 02:32:14
|
did you resubmit the post? Or are you just looking at a post that was already made? |
|
|
LazySumo
Starting Member
6 Posts |
Posted - 22 January 2004 : 08:57:03
|
Even a new submission won't do it. |
|
|
LazySumo
Starting Member
6 Posts |
Posted - 26 January 2004 : 16:37:09
|
Any other thoughts on this? |
|
|
Topic |
|