Commit Graph

18 Commits

Author SHA1 Message Date
tomdegoede
fc3ed30f3d improvement: Move inline styles to SCSS instead (#5578)
* fix: convert propStyle to propClass
2020-06-10 16:39:48 -07:00
Wesley Schwengle
117dcc9b16 Disable the validation badge for those who do not want it (#5994)
* disabled on string values: "127.0.0.1", "localhost", "none"
2020-06-10 15:31:35 -07:00
kyle
94c86d3d50 improvement: online.swagger.io -> validator.swagger.io (#5599) 2019-09-09 21:33:23 -07:00
kyle
dd3afdc456 fix: anchor tag safety (via #4789)
* v3.17.6

* release(3.17.6): rebuild dist

* add failing tests

* fix Link component

* fix OnlineValidatorBadge component

* switch from <a> to <Link> in operation components

* make Markdown inputs safe

* use Link component in Info block, for target safety

* add eslint rule for unsafe `target` usage
2018-08-04 00:54:03 -07:00
Yuanhai He
e70a054bd4 improvement: encode query string value for validator badge url (#4724)
* Encode query string value for validator badge url

* add tests
2018-07-13 14:44:10 -04:00
kyle
32ab8b3ce8 fix(validator-badge): resolve definition URLs against browser location (#4580) 2018-05-21 21:03:56 -07:00
Helder Sepulveda
6ba93ad43f improve: hide loading validator image (#4287)
* hide missing validator image

* Render nothing if validator badge has not loaded/received errors

* Revert style changes
2018-03-06 21:43:06 -08:00
Kyle Shockey
afa615e01d Add URL sanitizer to avoid javascript: XSS attack vector 2017-10-30 17:43:23 -07:00
RVKen
d36f0a6dbd fix eslint issues 2017-06-29 04:37:19 +02:00
Kyle Shockey
ed9e94f506 Fix linter problems 2017-03-31 18:05:01 -07:00
Anna Bodnia
879fc4ce04 fix badge async load 2017-03-31 11:19:10 +03:00
Anna Bodnia
161dc57cd5 #2827 remove online validator badge for specs hosted locally 2017-03-30 18:55:16 +03:00
Anna Bodnia
0b668ccf2a fix badge display 2017-03-29 22:20:12 +03:00
Anna Bodnia
ded299d891 #2796 disable validator (with badge) by removing it from config 2017-03-29 12:36:38 +03:00
Kyle Shockey
e1fcbfbf09 Linter error fixes 2017-03-23 16:36:45 -07:00
Kyle Shockey
f195d01184 Autofix ESLint problems 2017-03-22 20:40:05 -07:00
Kyle Shockey
33e5775dcf Default OnlineValidator url; rebuild dist 2017-03-19 19:27:09 -07:00
Ron
f22a628934 in with the new 2017-03-17 21:17:53 -07:00