-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Cache] Fix Couchbase password parsing #52758
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
Conversation
fbc9c21
to
1395af4
Compare
src/Symfony/Component/Cache/Adapter/CouchbaseCollectionAdapter.php
Outdated
Show resolved
Hide resolved
7095459
to
ed359c0
Compare
What about deprecating the Couchbase Bucket adapter in another PR? It is only compatible with Couchbase 2, which conflicts with this adapter compatible with Couchbase 3 |
ed359c0
to
6265c18
Compare
58254fe
to
00bd19c
Compare
After discussing with @nicolas-grekas, the following changes have been made:
Note: |
00bd19c
to
ea1ccc4
Compare
Rebased and conflicts fixed. All green 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what a mess parse_url...
so we should now add rawurldecode on all user/pass in the codebase that use parse_url, isn't it?
src/Symfony/Component/Cache/Adapter/CouchbaseCollectionAdapter.php
Outdated
Show resolved
Hide resolved
ea1ccc4
to
4e6f052
Compare
It seems 😕 https://3v4l.org/eshPt I'll have a look at it. Is this something that also should target 7.1? I'd say yes. |
Thank you @alexandre-daubois. |
…fier][Translation] Url decode username and passwords from `parse_url()` results (alexandre-daubois) This PR was merged into the 5.4 branch. Discussion ---------- [Cache][DependencyInjection][Lock][Mailer][Messenger][Notifier][Translation] Url decode username and passwords from `parse_url()` results | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | - | License | MIT Following #52758 (review) I guess this doesn't an entry in the changelog, does it? I replaced `urldecode` by `rawurldecode` and `$parsedDsn` by `$params`, as latest updates to the code used the latter. Commits ------- f0292f2 [Cache][DependencyInjection][Lock][Mailer][Messenger][Notifier][Translation] Url decode username and passwords from `parse_url()` results
…fier][Translation] Url decode username and passwords from `parse_url()` results (alexandre-daubois) This PR was merged into the 5.4 branch. Discussion ---------- [Cache][DependencyInjection][Lock][Mailer][Messenger][Notifier][Translation] Url decode username and passwords from `parse_url()` results | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | - | License | MIT Following symfony/symfony#52758 (review) I guess this doesn't an entry in the changelog, does it? I replaced `urldecode` by `rawurldecode` and `$parsedDsn` by `$params`, as latest updates to the code used the latter. Commits ------- f0292f23be [Cache][DependencyInjection][Lock][Mailer][Messenger][Notifier][Translation] Url decode username and passwords from `parse_url()` results
This is the followup for #52688 (comment).