We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rawurldecode
Currently rawurldecode called before splitting line by & (here):
&
private static function convertInitData(string $initData): array { $initDataArray = explode('&', rawurldecode($initData)); $needle = 'hash='; $hash = '';
But if user will add & to his first_name or last_name, this will cause additional wrong "entry" in $initDataArray and will fail validation.
first_name
last_name
$initDataArray
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently
rawurldecode
called before splitting line by&
(here):But if user will add
&
to hisfirst_name
orlast_name
, this will cause additional wrong "entry" in$initDataArray
and will fail validation.The text was updated successfully, but these errors were encountered: