Skip to content
New issue

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

Why can't the redis password set in session_path in php.ini have the + sign? #93

Closed
fan4905 opened this issue Oct 12, 2021 · 2 comments
Closed
Labels
question Further information is requested

Comments

@fan4905
Copy link

fan4905 commented Oct 12, 2021

I am using php7.4 version
session.save_path="tcp://127.0.0.1:6379?auth=wxdefa+6uysfs"
There is a + sign in the password, and the session will be invalid if the session is saved

@shiny
Copy link
Member

shiny commented Oct 12, 2021

推测:save_path 是个 URI 格式的字符串,可以尝试下 session.save_path="tcp://127.0.0.1:6379?auth=wxdefa%2B6uysfs"

@fan4905
Copy link
Author

fan4905 commented Oct 13, 2021

这个方法可行。

@sy-records sy-records added the question Further information is requested label Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants