Skip to content

Commit cd86ce0

Browse files
committed
Fixed an issue where pgadmin cannot install into path with non ASCII characters. #5204
1 parent 7e20bf5 commit cd86ce0

File tree

2 files changed

+1
-30
lines changed

2 files changed

+1
-30
lines changed

docs/en_US/release_notes_9_0.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Housekeeping
3232
Bug fixes
3333
*********
3434

35+
| `Issue #5204 <https://github.com/pgadmin-org/pgadmin4/issues/5204>`_ - Fixed an issue where pgadmin cannot install into path with non ASCII characters.
3536
| `Issue #6968 <https://github.com/pgadmin-org/pgadmin4/issues/6968>`_ - Fixed an issue where option key was not registering in PSQL tool.
3637
| `Issue #8072 <https://github.com/pgadmin-org/pgadmin4/issues/8072>`_ - Fixed an issue where Schema Diff not produce difference script for Index definition with where condition.
3738
| `Issue #8142 <https://github.com/pgadmin-org/pgadmin4/issues/8142>`_ - Correct the documentation for the MFA configuration.

pkg/win32/installer.iss.in

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -145,36 +145,6 @@ begin
145145
Result := 0;
146146
end;
147147

148-
function IsPathValid(Path: string): Boolean;
149-
var
150-
I: Integer;
151-
Ret: Boolean;
152-
begin
153-
Ret := True;
154-
Path := Uppercase(Path);
155-
Result :=
156-
(Length(Path) >= 3) and
157-
(Path[1] >= 'A') and (Path[1] <= 'Z') and
158-
(Path[2] = ':') and
159-
(Path[3] = '\');
160-
161-
if Result then
162-
begin
163-
for I := 3 to Length(Path) do
164-
begin
165-
case Path[I] of
166-
'0'..'9', 'A'..'Z', '\', ' ', '.', '-', '_', '(', ')':
167-
else
168-
begin
169-
Ret := False;
170-
break;
171-
end;
172-
end;
173-
end;
174-
end;
175-
Result := Ret;
176-
end;
177-
178148
function CheckPgAdminAlreadyInstalled: Boolean;
179149
var
180150
Version: String;

0 commit comments

Comments
 (0)