WOComponent *sComponent = [_ctx component];
BOOL doTakeValues = NO;
- if (self->queryParameters) {
+ if (self->queryParameters != nil) {
/* apply values to ?style parameters */
NSEnumerator *keys;
NSString *key;
}
}
+ // TODO: explain this href comparison
if ([[self->href stringValueInComponent:sComponent]
isEqualToString:[_rq uri]]) {
if (debugTakeValues) {
doTakeValues = YES;
}
else if (alwaysPassIn) {
+ // Note: this does not call the component! Bug? (see 'else' below)
if (debugTakeValues)
NSLog(@"%s: taking values from foreign request ",__PRETTY_FUNCTION__);
doTakeValues = YES;