title: ZAP keeps scanning unnecessary URLs
body: <p>What I'm doing is:</p>
  
  <p>Starting ZAP to listen on some port</p>
  
  <pre><code>zap.bat -daemon -host localhost -port 2355 -config api.disablekey=true
  </code></pre>
  
  <p>Starting new session</p>
  
  <pre><code>curl -X GET "http://localhost:2355/JSON/core/action/newSession/?zapapiformat=JSON&amp;formMethod=GET&amp;name=&amp;overwrite=" -H "cache-control: no-cache"
  </code></pre>
  
  <p>Through REST service, giving it a context, which includes only one URL pattern</p>
  
  <pre><code>curl -X GET "http://localhost:2355/JSON/context/action/importContext/?zapapiformat=JSON&amp;formMethod=GET&amp;contextFile=some-test-context.context" -H "cache-control: no-cache"
  </code></pre>
  
  <p><em>HERE I launch selenium test with browser bind to a proxy:2355</em></p>
  
  <p>Starting spider</p>
  
  <pre><code>curl -X GET "http://localhost:2355/JSON/spider/action/scan/?zapapiformat=JSON&amp;apikey=&amp;formMethod=GET&amp;url=&amp;maxChildren=&amp;recurse=&amp;contextName=some-test-context&amp;subtreeOnly=" -H "cache-control: no-cache"
  </code></pre>
  
  <p>Starting active scan</p>
  
  <pre><code>curl -X GET "http://localhost:2355/JSON/ascan/action/scan/?zapapiformat=JSON&amp;apikey=&amp;formMethod=GET&amp;url=&amp;recurse=&amp;inScopeOnly=&amp;scanPolicyName=&amp;method=&amp;postData=&amp;contextId=2" -H "cache-control: no-cache"
  </code></pre>
  
  <p>(2, because there is always id#1 context, Default one)</p>
  
  <p>And in the end I'm getting report</p>
  
  <pre><code>curl -X GET "http://localhost:2355/OTHER/core/other/htmlreport/?formMethod=GET" -H "cache-control: no-cache" -H "content: application/json"
  </code></pre>
  
  <p>I'm pretty sure the context path is correct and exists (no read error)
  I'm pretty sure I specified correct name of context and id</p>
  
  <p>Anyway, when I get report, there are scan results NOT only on the URL from the context. But also on production links, 3rd party sites, etc.</p>
  
  <p>Am I expecting smth wrong or forgetting smth?</p>