mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 10:24:38 +08:00
Merge pull request #13730 from ic4f/dev_unquote_url
Unquote url before using it
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import logging
|
||||
import os
|
||||
import urllib.parse
|
||||
from typing import (
|
||||
cast,
|
||||
Dict,
|
||||
@@ -497,7 +498,8 @@ def get_last_sqlalchemymigrate_version(model: ModelId) -> int:
|
||||
|
||||
|
||||
def get_url_string(engine: Engine) -> str:
|
||||
return engine.url.render_as_string(hide_password=False)
|
||||
db_url = engine.url.render_as_string(hide_password=False)
|
||||
return urllib.parse.unquote(db_url)
|
||||
|
||||
|
||||
def get_alembic_manager(engine: Engine) -> AlembicManager:
|
||||
|
||||
Reference in New Issue
Block a user