Generating a link to a toolbar with a slash at the end
Example: /debug/default/toolbar/?tag=65d3760d6f066
What do you get instead?
I get a link without a slash at the end, although it is globally set to urlManager
Example: /debug/default/toolbar?tag=65d3760d6f066
Therefore, a redirect occurs with a slash at the end
This is where it happens: getToolbarHtml() in \yii\debug\Module
How can I add a slash at the end without inheriting and changing the method getToolbarHtml?
Additional info
Q
A
Yii version
2.0.49.3
PHP version
8.2
Operating system
Linux 3ae8e767dffc 5.10.0-27-amd64 #1 SMP Debian 5.10.205-2 (2023-12-31) x86_64
What steps will reproduce the problem?
Open any page with a debugger
What's expected?
Generating a link to a toolbar with a slash at the end Example: /debug/default/toolbar/?tag=65d3760d6f066
What do you get instead?
I get a link without a slash at the end, although it is globally set to urlManager Example: /debug/default/toolbar?tag=65d3760d6f066 Therefore, a redirect occurs with a slash at the end
This is where it happens: getToolbarHtml() in \yii\debug\Module![image](https://github.com/yiisoft/yii2-debug/assets/73387820/1f6835ab-c246-43ae-98de-5741aa5c093d)
How can I add a slash at the end without inheriting and changing the method getToolbarHtml?
Additional info