We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 991d785 commit 7efc2ceCopy full SHA for 7efc2ce
app/code/Magento/Swagger/view/frontend/templates/swagger-ui/index.phtml
@@ -58,7 +58,7 @@ $schemaUrl = $block->getSchemaUrl();
58
<div class="swagger-ui-wrap">
59
<a id="logo" href="http://swagger.io">swagger</a>
60
<form id='api_selector'>
61
- <input id="input_baseUrl" type="hidden" value="<?= /* @escapeNotVerified */ $schemaUrl ?>"/>
+ <input id="input_baseUrl" type="hidden" value="<?= $block->escapeUrl($schemaUrl) ?>"/>
62
<div class='input'><input placeholder="api_key" id="input_apiKey" name="apiKey" type="text"/></div>
63
<div class='input'><a id="explore" href="#" data-sw-translate>apply</a></div>
64
</form>
0 commit comments