Skip to content
Snippets Groups Projects
Commit ab3c369c authored by Dale Sikkema's avatar Dale Sikkema
Browse files

MAGETWO-38065: /magento_verion exposes too detailed version information

 - remove other version info from frontend and headers of HTTP requests to external resources
parent 33f60f00
No related merge requests found
...@@ -10,5 +10,4 @@ ...@@ -10,5 +10,4 @@
target="_blank"> target="_blank">
<?php echo __('Report All Bugs') ?> <?php echo __('Report All Bugs') ?>
</a> </a>
<strong><?php echo __('(ver. %1)', \Magento\Framework\AppInterface::VERSION) ?></strong>
</small> </small>
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<?php echo $block->getChildHtml() ?> <?php echo $block->getChildHtml() ?>
<p class="bugs"><?php echo __('Help Us Keep Magento Healthy') ?> - <a <p class="bugs"><?php echo __('Help Us Keep Magento Healthy') ?> - <a
href="http://www.magentocommerce.com/bug-tracking" href="http://www.magentocommerce.com/bug-tracking"
target="_blank"><strong><?php echo __('Report All Bugs') ?></strong></a> <?php echo __('(ver. %1)', \Magento\Framework\AppInterface::VERSION) ?> target="_blank"><strong><?php echo __('Report All Bugs') ?></strong></a>
</p> </p>
<address><?php echo $block->getCopyright() ?></address> <address><?php echo $block->getCopyright() ?></address>
</div> </div>
......
...@@ -167,8 +167,7 @@ class Http extends File ...@@ -167,8 +167,7 @@ class Http extends File
'Host: ' . 'Host: ' .
$hostname . $hostname .
"\r\n" . "\r\n" .
'User-Agent: Magento ver/' . 'User-Agent: Magento' .
\Magento\Framework\AppInterface::VERSION .
"\r\n" . "\r\n" .
'Connection: close' . 'Connection: close' .
"\r\n" . "\r\n" .
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment