...
|
...
|
@@ -102,7 +102,10 @@ |
|
|
NSString *url = @"";
|
|
|
if (op && op.request) {
|
|
|
url = [op.request.URL absoluteString];
|
|
|
if ([op.request.HTTPMethod isEqualToString:@"POST"] && ![url containsString:@"http://analytics.yhurl.com/yas_mobile"]) {
|
|
|
|
|
|
BOOL containsAnanlyticURL = ([url rangeOfString:@"yas_mobile"].location == NSNotFound) ? NO : YES;
|
|
|
|
|
|
if ([op.request.HTTPMethod isEqualToString:@"POST"] && !containsAnanlyticURL) {
|
|
|
NSString *parmeter = [[NSString alloc]initWithData:op.request.HTTPBody encoding:NSUTF8StringEncoding];
|
|
|
url = [url stringByAppendingString:[NSString stringWithFormat:@"/?%@",parmeter]];
|
|
|
}
|
...
|
...
|
|