Fix: quote html calendrier absences (signalé par JMP)
This commit is contained in:
parent
ea421f72c8
commit
206b01a5a8
@ -47,6 +47,7 @@ L'API de plus bas niveau est en gros:
|
||||
import urllib
|
||||
import datetime
|
||||
import jaxml
|
||||
import cgi
|
||||
|
||||
# ---------------
|
||||
from sco_zope import *
|
||||
@ -2279,7 +2280,7 @@ def MonthTableBody(
|
||||
if href:
|
||||
href = 'href="%s"' % href
|
||||
if descr:
|
||||
descr = 'title="%s"' % descr
|
||||
descr = 'title="%s"' % cgi.escape(descr, quote=True)
|
||||
if href or descr:
|
||||
cc.append("<a %s %s>" % (href, descr))
|
||||
|
||||
@ -2371,7 +2372,7 @@ def MonthTableBody(
|
||||
if href:
|
||||
href = 'href="%s"' % href
|
||||
if descr:
|
||||
descr = 'title="%s"' % descr
|
||||
descr = 'title="%s"' % cgi.escape(descr, quote=True)
|
||||
if href or descr:
|
||||
cc.append("<a %s %s>" % (href, descr))
|
||||
if legend or d == 1:
|
||||
|
@ -28,6 +28,8 @@ if [ "$1" = "-r" ]
|
||||
then
|
||||
shift
|
||||
recreate_dept=1
|
||||
else
|
||||
recreate_dept=0
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user