Skip to content

Commit 351582c

Browse files
committed
refactor: remove redundant authority comment
1 parent 30e531b commit 351582c

3 files changed

Lines changed: 5 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@
2626

2727
### Fixed
2828

29-
- Workspaces hosted on internationalized (IDN) domains can now be opened from
30-
recent connections. The SSH authority parser was splitting Punycode (`xn--`)
31-
domain labels across the field separator and rejecting the host as invalid.
29+
- Workspaces on hostnames containing `--`, such as internationalized (IDN)
30+
domains with Punycode (`xn--`) labels, can now be opened from recent
31+
connections. The SSH authority parser was splitting these names across the
32+
field separator and rejecting the host as invalid.
3233

3334
## [v1.14.5](https://github.com/coder/vscode-coder/releases/tag/v1.14.5) 2026-04-30
3435

src/extension.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,9 @@ async function doActivate(
134134
// This client tracks the current login and will be used through the life of
135135
// the plugin to poll workspaces for the current login, as well as being used
136136
// in commands that operate on the current login.
137-
const sessionAuth = deployment
138-
? await secretsManager.getSessionAuth(deployment.safeHostname)
139-
: undefined;
140137
const client = CoderApi.create(
141138
deployment?.url || "",
142-
sessionAuth?.token,
139+
deploymentSessionAuth?.token,
143140
output,
144141
telemetryService,
145142
);

src/util.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ export function findPort(text: string): number | null {
5858
* Throw an error if the host is invalid.
5959
*/
6060
export function parseRemoteAuthority(authority: string): AuthorityParts | null {
61-
// The authority looks like: vscode://ssh-remote+<ssh host name>
6261
const authorityParts = authority.split("+");
6362
const sshHost = authorityParts[1];
6463
if (!sshHost) {

0 commit comments

Comments
 (0)