keybase / keybase-issues

A single repo for managing publicly recognized issues with the keybase client, installer, and website.
899 stars 37 forks source link

incorrect current directory for WEB page on the server keybase.pub #4153

Open LifshitzEugene opened 2 years ago

LifshitzEugene commented 2 years ago

The web server keybase.pub incorrectly determines the current directory for WEB pages if index.html is not explicitly specified:

  1. https://euarli46.keybase.pub/Jellet/index.html or https://euarli46.keybase.pub/Jellet/

Current directory for index.html is https://euarli46.keybase.pub/Jellet/ It's correct

  1. https://euarli46.keybase.pub/Jellet

Current directory for index.html is https://euarli46.keybase.pub/ It's not correct

GwynethLlewelyn commented 2 years ago

That's a confusing issue, I cannot understand what your issue actually is.

Assuming that your Keybase username is euarli46, then the website's name will be https://euarli46.keybase.pub/ and your index.html file should be placed under the directory /keybase/public/euarli46/index.html for it to work automatically.

Obviously, if you have subdirectories, the same applies — each subdirectory should have its own index.html.

What exactly is not correct?

LifshitzEugene commented 2 years ago

By the current directory, I mean the directory where the index.html file is located by default and the default directory for links to files inside index.html. In my opinion, it should be the same, but in your opinion it is not. That's the problem!

The fact that something is wrong with you here, you can make sure by going to the address

 https://euarli46.keybase.pub/CURDIR/test

It turns out not at all what is here:

 https://euarli46.keybase.pub/CURDIR/test/index.html

Contents of directory

 https://keybase.pub/euarli46/CURDIR/

specially prepared for this demo.

От: Gwyneth Llewelyn Отправлено: 5 ноября 2022 г. в 23:41 Кому: keybase/keybase-issues Копия: LifshitzEugene; Author Тема: Re: [keybase/keybase-issues] incorrect current directory for WEB pageon the server keybase.pub (Issue #4153)

That's a confusing issue, I cannot understand what your issue actually is. Assuming that your Keybase username is euarli46, then the website's name will be https://euarli46.keybase.pub/ and your index.html file should be placed under the directory /keybase/public/euarli46/index.html for it to work automatically. Obviously, if you have subdirectories, the same applies — each subdirectory should have its own index.html. What exactly is not correct? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>