Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swagger-UI Not Escaping HTML Special Characters / Symbols #526

Closed
abrenner opened this issue Aug 11, 2014 · 1 comment
Closed

Swagger-UI Not Escaping HTML Special Characters / Symbols #526

abrenner opened this issue Aug 11, 2014 · 1 comment
Milestone

Comments

@abrenner
Copy link

Swagger-UI is not escaping any HTML special characters / symbols. When you have an API call and it takes two or more parameters, the ampersand is used, and the second, third, etc one happens to contain characters that make up a symbol, it does not get escaped.

Example Request URL:
http://localhost:9090/api/aws/ec2?instance=m3.large&region=us-west

The &reg part of the URL, will be treated as the registered trademark symbol in the browser. This makes the swagger-ui unusable. Please safe escape the URL. So it it sent to browser as &

I do not know CoffeeScript or the code base. Any pointers on where to look or patches are welcomed.

@fehguy fehguy added this to the v2.1.0-M1 milestone Jan 28, 2015
@fehguy
Copy link
Contributor

fehguy commented Jan 30, 2015

This should be fixed in develop_2.0 branch--please reopen if you're still having issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants