No, this is a permanent fix, will go in the next release. Cheers, Dan
On Thu, Oct 29, 2009 at 1:09 PM, karlh626 <[email protected]> wrote: > > Works Wonderfully! > > Is this something that will be included in future releases or do I > need to make this addition manually on future releases of BW? > > Thanks again. > > Karl > > On Oct 29, 5:03 am, The Editor <[email protected]> wrote: >> Karl, we have been doing some work with the way chars are saved and >> encoded to try and simplify the source files, and get better xhtml >> compliance. It has been a rather major process. >> >> Anyway, in short your session log value is now getting encoded when >> the page markup loads and then that encoded value is getting passed to >> the log page. To make matters worse, the log page itself can double >> encode the < symbol and mess up things already on the page! >> Fortunately, I think there is an easy fix: >> >> engine.php line 1520, near the end of the BOLTlog function, add this first >> line: >> >> $source = str_replace(Array('&', '<', '>'), Array('&', '<', >> '>'), $source); >> BOLTsavepage($target, $source, '', false); >> return; >> } >> >> It seems to fix things. >> >> Cheers, >> Dan >> >> >> >> On Wed, Oct 28, 2009 at 4:12 PM, karlh626 <[email protected]> wrote: >> >> > I have one internal site running BW 3.08 which contains the following >> > form: >> >> > ---------------------------------------- >> > [form] >> > [box projectwork rows=1 cols=60][box][submit Add] >> > [session log "content='---- <color=gray>>>[(time {now} "%Y-%m-%d %H: >> > %M")]>></color> - {=projectwork} - <color=gray>>>{member}>></color>' >> > target='{p}.projectwork' flags='top'"] >> > [form] >> > ----------------------------------------- >> >> > Submitting this form in 3.08 formats the entry display correctly using >> > color and font size. >> >> > When I put this same form into a test site using 3.2.9 it messes up >> > the results. It substitutes "<, >" and ">>" for what looks something >> > I would see in an XML document. >> >> > Example: >> >> > View results = <color=gray2009-10-28 16:10</color> - Testing Form >> > Results - <color=graykharris</color> >> >> > Source results = ---- <color=gray>>>2009-10-28 >> > 16:10>></color> - Testing Form Results - >> > <color=gray>>>kharris>></color> >> >> > why is it converting characters such as "<" to "<" ? >> >> > Karl > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/boltwire?hl=en -~----------~----~----~----~------~----~------~--~---
