HelloZeroNet / HelloZeroNet/ZeroNet

Redirect .bit domain in URLs to real site address

Ouverte
#1,832 5 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
18.8k
Forks
2.3k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

**Is your feature request related to a problem? Please describe.**
Related to link breaking (i.e. when clicking on a old link and the origin has changed)

**Describe the solution you'd like**
When a user visits `ZERONET/somesite.bit/page?query` the browser gets a redirect to `ZERONET/siteaddress/page?query` to ensure that if the users copy the URL and he posts it somewhere, years later the links points at least to the same site (obviously the content may have gone, but at least it won't point to some other site as is currently doing `zeroblog.bit` and other `.bit` domains that have expired meanwhile).

Go visit http://127.0.0.1:43110/zeroblog.bit/?Post:5 to see if it is what you think...

I think this breaks the links that many people have spread in the whole ZeroNet in a crappy way: I can stand the content being removed from site owner or the site not being served anymore (which are just physiological, for example if noone is interested in such content) but not the URL pointing now to some other content just because of the renewal rules of Namecoin...

Also the only harm the proposed solutions does is to make URLs more "ugly" but I think it is worth the added benefit of referential integrity... I'd also like to see other opinions on the topic

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start by reproducing the current behavior at http://127.0.0.1:43110/zeroblog.bit/?Post:5 and trace how a .bit URL is resolved. Define completion as redirecting ZERONET/somesite.bit/page?query to the stable site address while preserving the path and query, without pointing the URL at unrelated content.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Domaine
web-dev
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.