Previous Thread
Next Thread
Print Thread
Rate Thread
joeuser #222619 08/21/2002 11:41 AM
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
More tags than the color-tag could generate the </font> end tag, and when parsing the color tag those tags would match as well.

If these tags were used:
[font:courier] Red courier, size 5 [/font]

And it would create the following html:
<font style="courier"><font color="red"><font size="5"> Red courier, size 5 </font></font></font>

Then the regexp would parse the code like this:
[font:courier] Red courier, size 5 [/font]

Because the regex would match the first occurance of </font>. In the above example, the tags are just nested wrong, but it could match other code which would break things even worse. Like </font> which is inside the quote-tag if I'm not mistaken.

Sponsored Links
Entire Thread
Subject Posted By Posted
</font color> Dave_L_dup1 08/20/2002 1:04 AM
Re: </font color> AllenAyres 08/20/2002 1:13 AM
Re: </font color> AllenAyres 08/20/2002 1:15 AM
Re: </font color> Dave_L_dup1 08/20/2002 1:19 AM
Re: </font color> AllenAyres 08/20/2002 1:21 AM
Re: </font color> Dave_L_dup1 08/20/2002 1:33 AM
Re: </font color> JustDave 08/20/2002 1:38 AM
Re: </font color> Dave_L_dup1 08/20/2002 1:44 AM
Re: </font color> Gardener 08/20/2002 1:46 AM
Re: </font color> AllenAyres 08/20/2002 1:50 AM
Re: </font color> Gardener 08/20/2002 1:56 AM
Re: </font color> Dave_L_dup1 08/20/2002 1:58 AM
Re: </font color> Gardener 08/20/2002 2:00 AM
Re: </font color> mod_perl 08/21/2002 10:53 AM
Re: </font color> Gardener 08/21/2002 4:22 PM
Re: </font color> Dave_L_dup1 08/21/2002 5:21 PM
Re: </font color> Gardener 08/21/2002 5:52 PM
Re: </font color> Dave_L_dup1 08/21/2002 6:01 PM
Re: </font color> Gardener 08/21/2002 6:41 PM
Re: </font color> Dave_L_dup1 08/21/2002 7:24 PM
Re: </font color> Gardener 08/21/2002 9:38 PM
Re: </font color> Dave_L_dup1 08/21/2002 9:57 PM
Re: </font color> JustDave 08/21/2002 10:15 PM
Re: </font color> Dave_L_dup1 08/21/2002 10:32 PM
Re: </font color> Gardener 08/21/2002 10:33 PM
Re: </font color> Gardener 08/21/2002 10:55 PM
Re: </font color> Dave_L_dup1 08/21/2002 11:13 PM
Re: </font color> Gardener 08/22/2002 12:01 AM
Re: </font color> mod_perl 08/22/2002 10:20 PM
Re: </font color> Gardener 08/22/2002 11:59 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 2
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)