Closed tadhgboyle closed 2 years ago
For example:
'password' => ",9nav\G8j:@,Wf7CFQ7-?|vNIQ>_OHo$Y&b+~6rq[\."gvz'54M%Elh%'|I[*9]>",
The " before gvz makes PHP think the password ends there. This can be solved by using addslashes and stripslashes when writing/reading their password from the config file.
"
gvz
addslashes
stripslashes
2.0.0-pr13
No response
stripslashes shouldn't be necessary when reading, when PHP parses the file the extra escape slashes won't end up in the resulting variables
Describe the issue
For example:
The
"
beforegvz
makes PHP think the password ends there. This can be solved by usingaddslashes
andstripslashes
when writing/reading their password from the config file.NamelessMC Version
2.0.0-pr13
To Reproduce
No response
Expected Behaviour
No response
Screenshots
No response
Additional Information
No response