| OLD | NEW |
| 1 /* ***** BEGIN LICENSE BLOCK ***** | 1 /* ***** BEGIN LICENSE BLOCK ***** |
| 2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 3 * | 3 * |
| 4 * The contents of this file are subject to the Mozilla Public License Version | 4 * The contents of this file are subject to the Mozilla Public License Version |
| 5 * 1.1 (the "License"); you may not use this file except in compliance with | 5 * 1.1 (the "License"); you may not use this file except in compliance with |
| 6 * the License. You may obtain a copy of the License at | 6 * the License. You may obtain a copy of the License at |
| 7 * http://www.mozilla.org/MPL/ | 7 * http://www.mozilla.org/MPL/ |
| 8 * | 8 * |
| 9 * Software distributed under the License is distributed on an "AS IS" basis, | 9 * Software distributed under the License is distributed on an "AS IS" basis, |
| 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License | 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 - (NSString*)unescapedURI | 353 - (NSString*)unescapedURI |
| 354 { | 354 { |
| 355 NSString *unescapedURI = (NSString*)CFURLCreateStringByReplacingPercentEscapes
UsingEncoding(kCFAllocatorDefault, | 355 NSString *unescapedURI = (NSString*)CFURLCreateStringByReplacingPercentEscapes
UsingEncoding(kCFAllocatorDefault, |
| 356 (CFS
tringRef)self, | 356 (CFS
tringRef)self, |
| 357 CFST
R(" \"\';/?:@&=+$,#"), | 357 CFST
R(" \"\';/?:@&=+$,#"), |
| 358 kCFS
tringEncodingUTF8); | 358 kCFS
tringEncodingUTF8); |
| 359 return unescapedURI ? [unescapedURI autorelease] : self; | 359 return unescapedURI ? [unescapedURI autorelease] : self; |
| 360 } | 360 } |
| 361 | 361 |
| 362 @end | 362 @end |
| OLD | NEW |