I've been thinking the best approach might be to provide a hook in the
BOLTpageshortcuts function which allows admins to create a
plugin--containing all necessary tweaks and then make this option
purely for those who wanted the plugin.  I can certainly see how an
upgrade from php4 to php5 could potentially wreck a site.  It has the
advantage of keeping the core plugin more comfortable to me.

Cheers,
Dan


On Fri, Oct 23, 2009 at 5:21 AM, Hans <[email protected]> wrote:
>
> i'm afraid using html_entity_decode just for php5 is not good enough:
> engine.php function BOLTpageshortcuts()
> if (phpversion() > '5.0.0') $link = html_entity_decode($link,
> ENT_QUOTES, 'UTF-8');
>
> Even if you can't test with a php 4.xx version you can test by
> commenting out the line.
>
> The effect is that at the time of page creation any html entities
> entered are not decoded, instead an html entity code like for instance
> &copy; is translated to %26copy%3b, leading to a page name which is
> different than it would be if it was decoded properly (%c2%a9 for
> &copy;).
>
> I think it is unacceptable that different page names get created
> because of different php versions. Unless a html entity decoding is
> achieved for phpversion() < 5.0.0 I think it would be better to put
> the whole feature of entering html entity codes in page name creation
> on hold.
>
> ~Hans
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to