-
Notifications
You must be signed in to change notification settings - Fork 437
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
Problem with SQS DSN string with + in secret #481
Comments
@dgoujard The issue is the DSN is being passed through parse_url() and if you urlencode your secret it'll work. Annoying but a simple fix. |
everything after |
@makasim Thats a good point and 100% correct |
@makasim As DSN is an url it's seam legit but maybe it's need to be mentioned in the documentation ? |
@dgoujard yeap, good idea. PR is welcome. |
I feel the docs DO need a touch up on the SQS side |
Hello,
When i had secret with an "+" in the DSN, the print_r in this file show me a space : https://github.com/php-enqueue/sqs/blob/master/SqsConnectionFactory.php#L61
This space generate 403 error in SQS api:
I regenerated multiple access keys to got one without + in the secret. I think the cause is the parse_url here : https://github.com/php-enqueue/enqueue-dev/blob/master/pkg/sqs/SqsConnectionFactory.php#L137
I think we can use replace function but it's maybe there are other char other than + with this issue.
The text was updated successfully, but these errors were encountered: