title: Can't stubbing a query with WireMock
body: <p>The problem is that my query like: </p>
  
  <pre><code>/pc/odata/api/devices?$top=3000&amp;$skip=0&amp;$format=json&amp;$expand=groups&amp;$select=ID,Name,PrimaryIPAddress,groups/GroupPathLocation&amp;$filter=((groups/Name%20eq%20'OI%20Inventory%20Group'))&amp;timeout=120
  </code></pre>
  
  <p>can't use for stub with </p>
  
  <blockquote>
    <p>HTTP ERROR 500 </p>
    
    <p>Problem accessing /__files/pc/odata/api/devices.
    Reason: </p>
    
    <p>Illegal character in query at index 138:
    /not-matched?$top=3000&amp;$skip=0&amp;$format=json&amp;$expand=groups&amp;$select=ID,Name,PrimaryIPAddress,groups/GroupPathLocation&amp;$filter=((groups/Name
    eq 'OI Inventory Group'))&amp;timeout=120</p>
  </blockquote>
  
  <p>The request is valid, and app works with the same query without params.</p>
  
  <p>A method for stub:</p>
  
  <pre><code>public void initialize( Integer D_ITEM_COUNT ) {
  
      writedItemsFile( D_ITEM_COUNT );
  
          ClasspathFileSource responseFiles = new ClasspathFileSource( "." );
          dItemService = new WireMockServer( WireMockConfiguration.wireMockConfig()
                  .port( D_ITEMS_SERVICE_PORT )
                  .fileSource( responseFiles )
                  .enableBrowserProxying( false )
                  .notifier( new ConsoleNotifier( true ) ) );
  
          dItemService.givenThat( get( urlEqualTo( D_D_ITEMS_SERVICE_ENDPOINT ) ).
                  willReturn( WireMock.aResponse()
                          .withHeader("Content-Type", "application/json")
                          .withBodyFile( "../" + D_ITEMS_SERVICE_RESPONSE_FILE + FILE_EXTENSION )
                          .withStatus( HttpStatus.SC_OK ) ) );
  }
  </code></pre>