Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

query_displayip containing colon won't show in URLs #141

Closed
wants to merge 1 commit into from

Conversation

jpylypiw
Copy link

@jpylypiw jpylypiw commented Nov 1, 2019

Hi there!
I recently installed the webinterface on my system, not for production!
Since I was happy about installing and testing I faced some minor issues.

My query_displayip is not only a hostname, it is a hostname with a port.
Example: example.com:1337

I entered the value in the database and saved. After doing that the URL in the sidebar was broken.
So I looked into the code and found the URL beginning with ts3server:// which looked perfectly fine.
After a short debugging session I found that the templating software is doing that.

So I added a latte filter called "nocheck". I am not sure if this should be done by latte in default!
After adding the filter in PHP code I added the filter in the templates and now my URLs are working perfectly fine.

@Wruczek
Copy link
Owner

Wruczek commented Nov 2, 2019

The filter you are looking for is noescape

I've tested it and it does not seem to work

@Wruczek Wruczek closed this in cf6d9e0 Nov 2, 2019
@jpylypiw jpylypiw deleted the patch-1 branch November 3, 2019 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants