Skip to content

Commit

Permalink
Don't restrict client-side length of start parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
levlam committed Aug 13, 2023
1 parent 0824764 commit 5388843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion td/telegram/LinkManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
namespace td {

static bool is_valid_start_parameter(Slice start_parameter) {
return start_parameter.size() <= 64 && is_base64url_characters(start_parameter);
return is_base64url_characters(start_parameter);
}

static bool is_valid_phone_number(Slice phone_number) {
Expand Down

0 comments on commit 5388843

Please sign in to comment.