Download plugin from totalcmd.net "is a non secure connection"

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, Stefan2, white

Post Reply
User avatar
Peter
Power Member
Power Member
Posts: 2020
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Download plugin from totalcmd.net "is a non secure connection"

Post by *Peter »

When I try to download the plugin from totalcmd.net, the link behind "Download (x32, x64) (315 Kb)" is blocked by current Firefox because it "is a non secure connection". I can "accept the risk", but maybe it could / should be fixed.






Posts split from "DirSizeCalc 2.22 (content plugin)"-topic
viewtopic.php?t=18021
TC 10.00 / #266191
Win 10 x64
User avatar
petermad
Power Member
Power Member
Posts: 11880
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: DirSizeCalc 2.22 (content plugin)

Post by *petermad »

2Peter
Try and enter explicitly https://totalcmd.net in stead of just http://totalcmd.net or totalcmd.net in the addres line in your Firefox - http:/totalcmd.net does NOT automatically redirect to https://totalcmd.net
License #524 (1994)
Danish Total Commander Translator
TC 10.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (21H2) 64bit, 'Everything' 1.4.1.1021 (x64)
TC 3.40b4 on Android 6 & 12
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Flint
Power Member
Power Member
Posts: 3392
Joined: 2003-10-27, 09:25 UTC
Location: Moscow, Russia
Contact:

Re: DirSizeCalc 2.22 (content plugin)

Post by *Flint »

I guess it's more to do with the fact that the download link is set to http by the plugin author. totalcmd.net relies on authors to specify the correct links for downloading their plugins.

I must admit, the admin panel was created back in the days when nobody thought about HTTPS much, so it's not really helping the authors to tackle the whole http/https conundrum. If the author puts the http link, there's not much the site can do; it cannot magically know whether http can be safely replaced with https, or it will make the link invalid. And even if I add some kind of auto-check, there's no guarantee that https will remain working in the future (certificates can expire), or that http and https point to the same location (technically, http://example.com/file.zip and https://example.com/file.zip can point to completely different files).
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.00 / Win7 x64 SP1, Win10 x64
User avatar
petermad
Power Member
Power Member
Posts: 11880
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: DirSizeCalc 2.22 (content plugin)

Post by *petermad »

2Flint

at least links to plugins that are stored on totalcmd.net or wincmd.ru itself (and I think that is the most) could be autodirected from http to https

Like I do on http://madsenworld.dk/tcmd

I don't know what kind of server totalcmd.net (and wincmd.ru) is on but if it is Apache based this code in the .htaccess file in the root:

Code: Select all

RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
should result in redirection - so if you write totalcmd.net or http://totalcmd.net in the address field it will be redirected to https://totalcmd.net - also for all subdirectories.

Then if you want the user to be able to choose between http or https in a subdirectory you put this in the. htaccess file of that subdir::

Code: Select all

RewriteEngine on
I am no server expert at all - but this works for me.
License #524 (1994)
Danish Total Commander Translator
TC 10.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (21H2) 64bit, 'Everything' 1.4.1.1021 (x64)
TC 3.40b4 on Android 6 & 12
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Flint
Power Member
Power Member
Posts: 3392
Joined: 2003-10-27, 09:25 UTC
Location: Moscow, Russia
Contact:

Re: DirSizeCalc 2.22 (content plugin)

Post by *Flint »

2petermad
My belief is, if someone wants to use HTTP (there are lots of possible reasons for that), he/she should be able to. That's why I don't want to force all the visitors of totalcmd.net onto the HTTPS version.

I'm thinking about adjusting the author-supplied links on-the-fly, if they are totalcmd.net-based (that is, when I'm 100% sure they will work correctly in both versions). So on HTTP the link will remain HTTP, and on HTTPS it will be HTTPS. But I'll need some time to implement that.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.00 / Win7 x64 SP1, Win10 x64
User avatar
Peter
Power Member
Power Member
Posts: 2020
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Re: DirSizeCalc 2.22 (content plugin)

Post by *Peter »

Flint wrote: 2021-12-22, 10:53 UTC 2petermad
My belief is, if someone wants to use HTTP (there are lots of possible reasons for that), he/she should be able to. ...
The question is: How many authors are aware of this topic?
TC 10.00 / #266191
Win 10 x64
User avatar
Flint
Power Member
Power Member
Posts: 3392
Joined: 2003-10-27, 09:25 UTC
Location: Moscow, Russia
Contact:

Re: DirSizeCalc 2.22 (content plugin)

Post by *Flint »

The answer to this question is obvious — very few. But I fail to see what point you are trying to make, exactly.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.00 / Win7 x64 SP1, Win10 x64
User avatar
Peter
Power Member
Power Member
Posts: 2020
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Re: DirSizeCalc 2.22 (content plugin)

Post by *Peter »

Flint wrote: 2021-12-22, 14:42 UTC ...But I fail to see what point you are trying to make, exactly.
I try to avoid this ;-)
viewtopic.php?p=408525#p408525
The standard-user types or clicks "totalcmd.net" - try to download - and will be confused because of some warnings - and maybe cancels the download. And I'm afraid that this will not be solved by itself.
TC 10.00 / #266191
Win 10 x64
User avatar
Flint
Power Member
Power Member
Posts: 3392
Joined: 2003-10-27, 09:25 UTC
Location: Moscow, Russia
Contact:

Re: Download plugin from totalcmd.net "is a non secure connection"

Post by *Flint »

As I said, for the links that point to totalcmd.net or one of the related domains, I'll change it, so the links would be using the matching protocol. For DirSizeCalc, for example, that will fix the issue. You just need to wait for a while, because I'm very busy at my work these days, and cannot find free time for implementing it right here and now.

But as for third-party domains, I simply have no control over them, and have to rely on authors to specify the link they consider to be the most appropriate. If that's an HTTP one, there's nothing I can do, because there are too many things that could go wrong if I simply replace it with HTTPS. One has to contact the author and discuss with him/her, whether an HTTPS link could be used instead.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.00 / Win7 x64 SP1, Win10 x64
User avatar
Peter
Power Member
Power Member
Posts: 2020
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Re: Download plugin from totalcmd.net "is a non secure connection"

Post by *Peter »

OK, clear now for me.
TC 10.00 / #266191
Win 10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 43759
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Download plugin from totalcmd.net "is a non secure connection"

Post by *ghisler(Author) »

at least links to plugins that are stored on totalcmd.net or wincmd.ru itself (and I think that is the most) could be autodirected from http to https
I agree - I recently implemented this on ghisler.com on my own plugin page https://www.ghisler.com/plugins.htm for any plugins hosted on ghisler.fileburst.com or www.totalcommander.ch.
Author of Total Commander
https://www.ghisler.com
User avatar
Dalai
Power Member
Power Member
Posts: 8251
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Download plugin from totalcmd.net "is a non secure connection"

Post by *Dalai »

Well, I just tried to replace all HTTP links for my plugins with HTTPS links - and failed. The Author's Panel just says this when trying to save the change:

Code: Select all

The following problems occurrred while processing external links:

    https://wincmd.ru/files/9924350/wdx_CertificateInfo_0.3.0.rar:
    Failed to determine the file size. Please, check that the link is valid and points to file directly.

Back
I can open that link just fine in my browser.

So, it's not the plugin author's fault in this case.

2Flint
I hope you can fix this when you find some time for it.
BTW:
  • the "Back" link in that error message is also broken.
  • the function to upload files adds HTTP links by default which requires authors not just be aware of the issue but also manually change the link (if that even works, haven't tested it)
  • the links in the "Plugin pages" of the Author's Panel also use HTTP
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo - Download-Mirror
User avatar
Flint
Power Member
Power Member
Posts: 3392
Joined: 2003-10-27, 09:25 UTC
Location: Moscow, Russia
Contact:

Re: Download plugin from totalcmd.net "is a non secure connection"

Post by *Flint »

2Dalai
Thank you for reporting this, I'll see what I can do. Unfortunately, at the moment I'm extremely busy, so I won't be able to fix it in the nearest future, but I'll get to it when I have some spare time.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.00 / Win7 x64 SP1, Win10 x64
Post Reply