Please do not disallow the `+` character in user IDs

Đang mở
#2,542 1 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 4 ngày

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
38/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
perl
Lĩnh vực
authentication

Hướng nghiên cứu

The payload names no files, so start by searching the repository for the user ID validation rule and the code that extracts a user ID from the Canvas email, and check where + is rejected. Confirm the restriction applies in both places. Done means a user ID containing + is accepted and works through the Canvas login path. Check that the design question about allowed characters has been settled before you change the rule.

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

Mô tả

This is a feature request to allow the + character as part of user IDs.

Why? One of the biggest difficulties for our WeBWorK setup is that I can't properly test Canvas integration without having a real student account in Canvas. The student account I was able to get in the end is tied to a special email with a + character in it. Gmail, as well as some other systems, support using [email protected] and treat it as equivalent to [email protected]. This makes it possible to use different variations on the same email address, all pointing to the same inbox.

Since WeBWorK is set up to extract the user ID from the email that Canvas sends, I end up with a user ID that contains a + character. The actual user ID that Canvas uses also has a + character (it's the full email).

Generally, allowing the + character would make it much easier for me to debug issues in out environment.

Ngôn ngữ chính
Perl
Star
164
Fork
167
Merge trung bình
6 ngày 7 giờ
Pull request đã merge (30 ngày)
27

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

  • 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 openwebwork/webwork2

Tất cả issue của openwebwork/webwork2

Issue tương tự

Thêm issue về Perl

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.