Punycode not displayed is domain display disabled Topic is solved

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
DeonEva

Punycode not displayed is domain display disabled

Unread post by DeonEva » 2021-01-06, 15:41

I sorta came across this on accident while making little settings alterations to make my browser look retro. If you hide the SSL domain names with ssl_domain_display set to a good ol value 0, which, I'm aware, is already a bit unsafe, and have display_punycode set to value 2, shouldn't this also override the hiding of the domain name in order to show the code? Or maybe have a "3" value that means HTTPS + HTTP, bitwise flag style? As it is, there's no way to show punycodes for https addresses without showing the addresses for every url, but http addresses will show the punycode in the same config... so it ends up seeming like http gets the better treatment, I guess you could say.

thanks, got the answer very quickly!
Last edited by DeonEva on 2021-01-06, 16:33, edited 1 time in total.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35476
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Punycode not displayed is domain display disabled

Unread post by Moonchild » 2021-01-06, 16:11

Edited the topic title to be descriptive.

Yes, this does seem like a small oversight; domain_display disabled wasn't really tested in combination when I implemented this; value "2" should mean both https and http. It's just that overall domain display is currently getting a higher priority than the punycode display.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Locked