title: @PathVariable is giving 400 Bad Request
body: <p>I am using path variable and when i hit the request i get 400 BAD Request </p>
  
  <p>URL :  <a href="http://localhost:8085/testing/v3/w200/http%3A%2F%2Fwww.bildarchivaustria.at%2FPreview%2F15620341.jpg" rel="nofollow noreferrer">http://localhost:8085/testing/v3/w200/http%3A%2F%2Fwww.bildarchivaustria.at%2FPreview%2F15620341.jpg</a></p>
  
  <p>I don't know why it's not working. It might be something very simple that i am missing. Please help </p>
  
  <p>Here is my code : </p>
  
  <pre class="lang-java prettyprint-override"><code>
  @RestController
  @RequestMapping("/testing/v3")
  public class ControllerV3 
  {
  @GetMapping(value = "/{size}/{url}")
      public ResponseEntity&lt;byte[]&gt; testByUrl(
              @PathVariable(name="size", value="size" , required = false) String size,
              @PathVariable("url") String url,
              WebRequest webRequest, HttpServletResponse response) {
          long startTime = 0;
          if (LOG.isDebugEnabled()) {
              startTime = System.nanoTime();
              LOG.debug("url = {}, size = {}", url, size);
          }
  // i do other process here and return the image or video
  }
  }
  
  </code></pre>