mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
unescape the encoded chars in tablename uri (#8446)
* unesacpe the encoded chars in tablename uri * unescape special characters
This commit is contained in:
@@ -91,7 +91,7 @@ export class EditDataInput extends EditorInput implements IConnectableInput {
|
|||||||
// Getters/Setters
|
// Getters/Setters
|
||||||
public get tableName(): string { return this._tableName; }
|
public get tableName(): string { return this._tableName; }
|
||||||
public get schemaName(): string { return this._schemaName; }
|
public get schemaName(): string { return this._schemaName; }
|
||||||
public get uri(): string { return this._uri.toString(); }
|
public get uri(): string { return unescape(this._uri.toString()); }
|
||||||
public get sql(): UntitledTextEditorInput { return this._sql; }
|
public get sql(): UntitledTextEditorInput { return this._sql; }
|
||||||
public get results(): EditDataResultsInput { return this._results; }
|
public get results(): EditDataResultsInput { return this._results; }
|
||||||
public getResultsInputResource(): string { return this._results.uri; }
|
public getResultsInputResource(): string { return this._results.uri; }
|
||||||
|
|||||||
@@ -100,6 +100,6 @@ export class EditDataResultsInput extends EditorInput {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get uri(): string {
|
get uri(): string {
|
||||||
return this._uri;
|
return unescape(this._uri);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user