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

Ignore me #2858

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft

Ignore me #2858

wants to merge 10 commits into from

Conversation

meisterT
Copy link
Member

No description provided.

This was removed in version 3.3.0RC1 in 2012 so should
not be relevant anymore by now.
They were actually leading to double password reading
in the `load` command.
There was no easy way to do this, besides also completely
dropping and recreating an empty database.
This makes it easily available to admins.
This was used for only setting default configuration on
first installation, but irrelevant since 77932de.
See for reference:
- https://dev.mysql.com/doc/refman/8.0/en/connecting-using-uri-or-key-value-pairs.html#connecting-using-uri
- https://symfony.com/doc/current/doctrine.html
but note that we must use `rawurlencode` instead of `urlencode` which
differ in how they encode a space (as tested).

Fixes: DOMjudge#2651
Closes: DOMjudge#2502 as this is likely fixed but I couldn't reproduce it
(cherry picked from commit abeefb3)
eldering and others added 2 commits November 25, 2024 09:41
Use URL encoding in DATABASE_URL and return mysql_options
as an array (via ugly global variable), so each element
in it can be separately added to the command line using
`@` for expansion.

Because of changing the script to bash, also reverts some
of the changes in 483200a.

(cherry picked from commit ded9ef3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants