HelloZeroNet / HelloZeroNet/ZeroNet

Redirect .bit domain in URLs to real site address

Đang mở
#1,832 5 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
18.8k
Fork
2.3k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện hành vi hiện tại tại http://127.0.0.1:43110/zeroblog.bit/?Post:5 và theo dõi cách một URL .bit được phân giải. Xác định hoàn thành là chuyển hướng ZERONET/somesite.bit/page?query đến địa chỉ ổn định của trang web, đồng thời giữ nguyên path và query, mà không trỏ URL đến nội dung không liên quan.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
web-dev
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.