Skip to content

Commit 7efc2ce

Browse files
committed
MAGETWO-95507: Broken Swagger markup
1 parent 991d785 commit 7efc2ce

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Swagger/view/frontend/templates/swagger-ui

1 file changed

+1
-1
lines changed

app/code/Magento/Swagger/view/frontend/templates/swagger-ui/index.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ $schemaUrl = $block->getSchemaUrl();
5858
<div class="swagger-ui-wrap">
5959
<a id="logo" href="http://swagger.io">swagger</a>
6060
<form id='api_selector'>
61-
<input id="input_baseUrl" type="hidden" value="<?= /* @escapeNotVerified */ $schemaUrl ?>"/>
61+
<input id="input_baseUrl" type="hidden" value="<?= $block->escapeUrl($schemaUrl) ?>"/>
6262
<div class='input'><input placeholder="api_key" id="input_apiKey" name="apiKey" type="text"/></div>
6363
<div class='input'><a id="explore" href="#" data-sw-translate>apply</a></div>
6464
</form>

0 commit comments

Comments
 (0)