Skip to content

Commit

Permalink
added ending slash to baseUrl after correction of baseUrl in UrlScript
Browse files Browse the repository at this point in the history
  • Loading branch information
mildabre committed Jan 14, 2025
1 parent 85eea5f commit fe60daf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ use Tracy\Helpers;
<div class="tracy-inner nette-RoutingPanel">
<div class="tracy-inner-container">
<p><code><?= Helpers::escapeHtml($method) ?></code>
<code><?= Helpers::escapeHtml($url->getBaseUrl()) ?><wbr><span class="nette-RoutingPanel-rel"><?= str_replace(['&amp;', '?'], ['<wbr>&amp;', '<wbr>?'], Helpers::escapeHtml($url->getRelativeUrl())) ?></span></code></p>
<code><?= Helpers::escapeHtml($url->getBaseUrl().'/') ?><wbr><span class="nette-RoutingPanel-rel"><?= str_replace(['&amp;', '?'], ['<wbr>&amp;', '<wbr>?'], Helpers::escapeHtml($url->getRelativeUrl())) ?></span></code></p>

<?php if (is_string($source)): ?>
<p><?= Helpers::escapeHtml($source) ?> (class not found)</p>
Expand Down

1 comment on commit fe60daf

@mildabre
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After correction of ending slash in baseUrl/basePath in UrlScript it is also required to add ending slash to $url->getBaseUrl() in Tracy routing panel!

Please sign in to comment.