Monotone-Parent: ca2163bc9ead3d33b8626f28648e40de8de6e0e0

Monotone-Revision: d9596f4b43a014a2c792aa15954418eac4a2fe8d

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-08-23T22:13:12
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-08-23 22:13:12 +00:00
parent e3897a0150
commit 9a2eb20aff
2 changed files with 11 additions and 1 deletions

View File

@@ -1,5 +1,11 @@
2007-08-23 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Scheduler/UIxAppointmentEditor.m ([UIxAppointmentEditor
-shouldTakeValuesFromRequest:requestinContext:context]):
redesigned method since any method called can be received from a
POST or a GET. Instead we check the method call itself and we
accept only if it has the "save" prefix.
* SoObjects/Appointments/SOGoAptMailNotification.m
([SOGoAptMailNotification -getSubject]): returns the subject an a
quoted-printable encoded string, if needed.

View File

@@ -319,8 +319,12 @@
- (BOOL) shouldTakeValuesFromRequest: (WORequest *) request
inContext: (WOContext*) context
{
NSString *actionName;
actionName = [[request requestHandlerPath] lastPathComponent];
return ([[self clientObject] isKindOfClass: [SOGoAppointmentObject class]]
&& [[request method] isEqualToString: @"POST"]);
&& [actionName hasPrefix: @"save"]);
}
- (void) takeValuesFromRequest: (WORequest *) _rq