Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

🐛 Bug Report: NSFW posts on SFW instances after importing preferences

Đang mở
#487 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
rust
Lĩnh vực
backend

Hướng nghiên cứu

Start by tracing how preference imports restore subscriptions and how the SFW-only setting filters posts in the timeline. Check the relevant tests, if present, for imported preferences on an SFW instance. Done means NSFW posts no longer appear in the timeline after import, while SFW posts remain visible.

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

Mô tả

bug

I had a bunch of subscriptions on an instance of redlib. Then I exported a code, which contains all my data, and imported it to another instance of redlib. The second instance is SFW only. But after importing my preferences I see NSFW notes in my timeline. Although I cannot go to a specific NSFW note, it shows an error saying the instance is SFW only.
I think it's a bug, because if admins set their instance SFW only, they want their users not to use the instance to see NSFW content.

Ngôn ngữ chính
Rust
Star
3.9k
Fork
293
Merge trung bình
4 ngày 9 giờ
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của redlib-org/redlib

Tất cả issue của redlib-org/redlib

Issue tương tự

Thêm issue về Rust

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.