mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Use updated URL for MariaDB Explain analyzer, and encode semicolon in URL parameter. See http://www.heidisql.com/forum.php?t=18677
This commit is contained in:
@@ -3952,7 +3952,7 @@ begin
|
||||
Results.Next;
|
||||
end;
|
||||
Raw := Raw + CRLF;
|
||||
URL := 'http://mariadb.org/explain_analyzer/api/1/?raw_explain='+EncodeURLParam(Raw)+'&client='+APPNAME;
|
||||
URL := 'https://mariadb.org/explain_analyzer/analyze/?raw_explain='+EncodeURLParam(Raw)+'&client='+APPNAME;
|
||||
ShellExec(URL);
|
||||
end;
|
||||
|
||||
|
||||
@@ -502,7 +502,7 @@ function EncodeURLParam(const Value: String): String;
|
||||
var
|
||||
c: Char;
|
||||
const
|
||||
UnsafeChars: String = '*<>#%"{}|\^[]`?&+';
|
||||
UnsafeChars: String = '*<>#%"{}|\^[]`?&+;';
|
||||
begin
|
||||
// Encode critical chars in url parameter
|
||||
Result := '';
|
||||
|
||||
Reference in New Issue
Block a user