title: ios [NSURL URLWithString:requestUrl relativeToURL:baseUrl]. if requestUrl contains string '/User/Page' ， return nil
body: <pre><code>[NSURL URLWithString:requestUrl relativeToURL:baseUrl]
  </code></pre>
  
  <p>if requestUrl contains '/User/page', return nil.</p>
  
  <p><img src="https://user-images.githubusercontent.com/13481443/67383584-018d2a80-f5c2-11e9-8d18-48526c06816a.png" alt="image:"> </p>
  
  <p>If you want a test.</p>
  
  <pre><code>NSString *reqUrl1 = @"/api/v3.1/User​/Page/";
  
  NSString *reqUrl2 = @"api/v3.1/User​/Page";
  
  NSString *reqUrl3 = @"/api/v3.1/User​/Page/";
  
  NSString *reqUrl4 = @"/api/v3.1/Follow/Page";
  
  NSString *reqUrl5 = @"/api/v3.1/User/Follow";
  
  NSString *reqUrl6 = @"/api/v3.1/User/Pollow";
  
  NSString *reqUrl7 = @"api/v3.2/User​/Page";
  
  NSString *reqUrl8 = @"api/v3.2/User​/Page/aaa/bbb";
  
  NSURL *url = [NSURL URLWithString:@"http://appgateway.xxx.xx-xxx.xxx.com/"];
  
  NSString *lastUrl1 = [NSURL URLWithString:reqUrl1 relativeToURL:url].absoluteString;
  
  NSString *lastUrl2 = [NSURL URLWithString:reqUrl2 relativeToURL:url].absoluteString;
  
  NSString *lastUrl3 = [NSURL URLWithString:reqUrl3 relativeToURL:url].absoluteString;
  
  NSString *lastUrl4 = [NSURL URLWithString:reqUrl4 relativeToURL:url].absoluteString;
  
  NSString *lastUrl5 = [NSURL URLWithString:reqUrl5 relativeToURL:url].absoluteString;
  
  NSString *lastUrl6 = [NSURL URLWithString:reqUrl6 relativeToURL:url].absoluteString;
  
  NSString *lastUrl7 = [NSURL URLWithString:reqUrl7 relativeToURL:url].absoluteString;
  
  NSString *lastUrl8 = [NSURL URLWithString:reqUrl8 relativeToURL:url].absoluteString;
  
  NSLog(@"============");
  
  // ------------------------------------------------------
  
  (lldb) po lastUrl1
  
   nil
  
  (lldb) po lastUrl2
  
   nil
  
  (lldb) po lastUrl3
  
   nil
  
  (lldb) po lastUrl4
  
  http://appgateway.xxx.xx-xxx.xxx.com/api/v3.1/Follow/Page
  
  (lldb) po lastUrl5
  
  http://appgateway.xxx.xx-xxx.xxx.com/api/v3.1/User/Follow
  
  (lldb) po lastUrl6
  
  http://appgateway.xxx.xx-xxx.xxx.com/api/v3.1/User/Pollow
  
  (lldb) po lastUrl7
  
   nil
  
  (lldb) po lastUrl8
  
   nil
  </code></pre>