mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where server names with special characters are not displayed correctly in the process tab. Fixes #7695
This commit is contained in:
committed by
Akshay Joshi
parent
769f58970e
commit
04b1e26041
@@ -923,7 +923,7 @@ def signal_runtime():
|
||||
|
||||
if hasattr(config, 'SECURITY_CHANGEABLE') and config.SECURITY_CHANGEABLE:
|
||||
@blueprint.route("/change_password", endpoint="change_password",
|
||||
methods=['POST'])
|
||||
methods=['GET', 'POST'])
|
||||
@pgCSRFProtect.exempt
|
||||
@login_required
|
||||
def change_password():
|
||||
@@ -1011,7 +1011,7 @@ if hasattr(config, 'SECURITY_RECOVERABLE') and config.SECURITY_RECOVERABLE:
|
||||
user=user, token=token)
|
||||
|
||||
@blueprint.route("/reset_password", endpoint="forgot_password",
|
||||
methods=['POST'])
|
||||
methods=['GET', 'POST'])
|
||||
@pgCSRFProtect.exempt
|
||||
@anonymous_user_required
|
||||
def forgot_password():
|
||||
|
||||
@@ -181,7 +181,7 @@ class Message(IProcessDesc):
|
||||
|
||||
if s is None:
|
||||
return gettext("Not available")
|
||||
return html.safe_str("{0} ({1}:{2})".format(s.name, s.host, s.port))
|
||||
return "{0} ({1}:{2})".format(s.name, s.host, s.port)
|
||||
|
||||
def details(self, cmd, args):
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user