-
Notifications
You must be signed in to change notification settings - Fork 174
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
在请求验证码mobileRule参数为空的时候会导致500错误 #53
Comments
请问你是准备用默认验证规则还是自定义验证规则? |
@toplan 默认验证规则 |
ok,能否发一下你的500错误的截图? |
没有任何错误信息,但是我排查了下,是因为parse_url(URL::previous())中没有"path"元素,导致$realName = $parsed['path'];产生错误 |
@toplan 问题解决了,是我服务器环境storage没有写权限,导致之前的请求没有缓存,所以获取不到😅,多谢啦。 |
😸 |
不过在初次请求获取验证码还是会有这个错误,方便的话请看一下吧 |
也就是说,不填写mobileRule的话,初次请求会有报错对吧? |
是的,因为没有上次请求的状态,所以没有path字段 |
嗯,是的,我待会儿会处理下,谢谢你的反馈。 |
@LGC119 已发布v2.2.6解决此问题 |
@toplan 好的,多谢! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在请求验证码mobileRule参数为空,并且URL::previous()无法获取到“path”的时候会导致 $realName = $parsed['path'];请求失败500错误
The text was updated successfully, but these errors were encountered: