reta opened a new pull request #906:
URL: https://github.com/apache/cxf/pull/906


   Since [Swagger UI 
4.1.3](https://github.com/swagger-api/swagger-ui/releases/tag/v4.1.3) passing 
the default URL as query parameter, e.g. `?url=swagger.json` is disabled by 
default due to security concerns. Instead the default swagger PetStore 
definition is loaded.
   
   It's possible to restore the old behaviour by setting `queryConfigEnabled` 
inside the config file but in this case, custom SwaggerUI distribution should 
be used. 
   
   One of the options to make it work is to replace the URL on the fly while 
returning `index.html`, fetching the URL not from the query string but using 
server-side configuration (no security concerns with respect to picking 
arbitrary URLs).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to