[Building Sakai] <map> and <area> tags in FCKEditor
Sam Ottenhoff
ottenhoff at longsight.com
Tue Mar 10 08:36:58 PDT 2015
This is a great use case for why you should use AntiSamy. Without
AntiSamy, you have to modify the goodTags and badTags
in kernel-impl/src/main/java/org/sakaiproject/util/impl/FormattedTextImpl.java
and then re-compile and re-deploy. With AntiSamy, you can modify the
security policy XML file and place it in your $TOMCAT_HOME/sakai/antisamy/
directory and then restart Sakai.
On Tue, Mar 10, 2015 at 11:32 AM, Shoji Kajita <
kajita.shoji.5z at kyoto-u.ac.jp> wrote:
> Hi there,
>
> We are trying to use <map> and <area> tags in FCK HTML Editor for
> sakai-2.9.3 but these tags are sanitized as follows:
>
> <img alt="s1" src="
> https://FQDN/access/content/group/c7dd12a1-1466-4a0d-ab2a-645eb0f4daf5/xxx.png"
> style="width: 960.0px;height: 720.0px;" usemap="#s1" /><map
> name="s1"> <area alt="rireki" href="
> https://FQDN/access/content/group/xxx.doc" shape="rect"
> coords="296,274,356,295"> <area alt="rei"
> href="https://FQDN/access/content/group/xxx.xlsx"
> shape="rect" coords="355,277,375,295"> <area
> alt="en" href="http://FQDN2/wp-content/uploads/ea.docx"
> shape="rect" coords="207,302,400,322"> <area
> alt="setsumei" href="FQDN3/uploads/setumei.doc"
> shape="rect" coords="207,327,284,347"> <area
> alt="doui" href="FQDN3/uploads/douisyo_140917.doc"
> shape="rect" coords="465,327,544,347"> <area
> alt="ku" href="
> http://FQDN2/wp-content/uploads/ebd8.doc" shape="rect"
> coords="216,379,363,397"> <area alt="ha"
> href="https://FQDN/access/content/group/99.docx"
> shape="rect" coords="217,422,424,438">
> </map></p>
>
> The AntiSamy settings are as follows:
>
> ### disable AntiSamy
> content.cleaner.use.legacy.html=true
> content.cleaner.default.low.security=true
>
> So, it is not caused by AntiSamy…
>
> Do you have any suggestions?
>
> Best regards,
> Shoji
> -----
> Shoji Kajita, Ph.D
> http://about.me/shojikajita
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20150310/6f7ce6ad/attachment.html
More information about the sakai-dev
mailing list