File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ are given with the most recent entry first.
66- Query editing now works correctly (sf bug 621248)
77- roundup-server now logs IP addresses by default (sf bug 778795)
88- logfile must be specified if pidfile is (sf bug 772820)
9+ - timelog editing via csv interface crashes (sf bug 699837)
10+
911
10122003-07-29 0.6.0b4
1113- plugged cross-site-scripting hole (thanks Jeff Epler)
Original file line number Diff line number Diff line change 1- # $Id: client.py,v 1.128 2003-08-10 13:38:43 jlgijsbers Exp $
1+ # $Id: client.py,v 1.129 2003-08-12 01:26:08 richard Exp $
22
33__doc__ = """
44WWW request handler (also used in the stand-alone server).
@@ -1272,6 +1272,16 @@ def editCSVAction(self):
12721272 # if it's a multilink, split it
12731273 if isinstance (prop , hyperdb .Multilink ):
12741274 value = value .split (':' )
1275+ elif isinstance (prop , hyperdb .Password ):
1276+ value = password .Password (value )
1277+ elif isinstance (prop , hyperdb .Interval ):
1278+ value = date .Interval (value )
1279+ elif isinstance (prop , hyperdb .Date ):
1280+ value = date .Date (value )
1281+ elif isinstance (prop , hyperdb .Boolean ):
1282+ value = value .lower () in ('yes' , 'true' , 'on' , '1' )
1283+ elif isinstance (prop , hyperdb .Number ):
1284+ value = float (value )
12751285 d [name ] = value
12761286 elif exists :
12771287 # nuke the existing value
You can’t perform that action at this time.
0 commit comments