-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Lock] remove non-standard MongoDbStore URI parameters before passing to driver #37180
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
Labels
Comments
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 10, 2020
…om MongoDB connection URI
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 10, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 10, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 10, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 10, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 10, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 10, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 10, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 10, 2020
…om MongoDB connection URI
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 10, 2020
…om MongoDB connection URI
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 10, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 10, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 10, 2020
…om MongoDB connection URI
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 10, 2020
…om MongoDB connection URI
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 11, 2020
…om MongoDB connection URI
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 11, 2020
…om MongoDB connection URI
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 11, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 11, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 11, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 15, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 15, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 15, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 15, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 15, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 15, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 15, 2020
…ould take precedence over options
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 15, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 15, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 15, 2020
…ould take precedence over options
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 16, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 16, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 16, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 18, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 22, 2020
kralos
pushed a commit
to kralos/symfony
that referenced
this issue
Jun 22, 2020
fabpot
added a commit
that referenced
this issue
Aug 16, 2020
…alos) This PR was squashed before being merged into the 5.1 branch. Discussion ---------- [Lock] MongoDbStore skim non-standard options from uri | Q | A | ------------- | --- | Branch? | 5.1 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #37180 | License | MIT | Doc PR | Don't allow non-standard connection uri options reach `MongoDB\Client` Commits ------- 67912fa [Lock] MongoDbStore skim non-standard options from uri
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Symfony version(s) affected: 5.1.0
Description
@jmikola has raised concerns with our handling of both the
database
path andcollection
query string in aMongoDbStore
constructed with a MongoDB connection URI. Please see #37140 (comment)How to reproduce
Construction of a
MongoDbStore
using a MongoDB connection URI withcollection=
in the querystring.Possible Solution
We should remove
collection
from the query string before passing the URI to the driver.Additional context
#37140 (comment)
See the note regarding libmongoc client and connection re-use internally: https://www.php.net/manual/en/mongodb.connection-handling.php
The text was updated successfully, but these errors were encountered: