I'm looking at the code in the uploads function and notice all upload
links have their attributes run through this bit of code, whether a
link to a pdf or an img:
foreach($args as $f => $v) {
if (! in_array($f, BOLTattrs('img'))) continue;
$attr .= "$f='$v' ";
}
I'm wondering if links to files shouldn't have a different set of
allowed attrs. Currently I have:
$BOLTattrs['a'] =
'id,class,href,name,style,rev,rel,target,title,accesskey,tabindex,class,id,xmllang';
$BOLTattrs['img'] = 'align,border,style,class,height,width,hspace,vspace,title';
Seems I should assign the BOLTattrs('a') filter to links to files?
Any thoughts...
Cheers,
Dan
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---