HelloZeroNet / HelloZeroNet/ZeroNet

Redirect .bit domain in URLs to real site address

オープン
#1,832 コメント 5 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
18.8k
フォーク
2.3k
PR マージ指標
30日以内にマージされた PR はありません

説明

**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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

領域
web-dev
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。