Skip to content

Validate Remote Path field against OpenVMS directory specs - #14

Merged
SteveIves merged 1 commit into
masterfrom
remote-path-validation
Nov 10, 2026
Merged

SteveIves merged 1 commit into
masterfrom
remote-path-validation

Conversation

@SteveIves

Copy link
Copy Markdown
Collaborator

Summary

  • The Remote Path option must be a Linux-style path, but users sometimes enter an OpenVMS directory spec (e.g. $1$DGA1303:[1tallent.WIN]), which causes problems.
  • If the field contains [ or ] when typed or pasted, an error is shown and the field is cleared.
  • If a previously saved value contains [ or ], it is cleared when the Settings dialog opens, with an explanatory message.

Test plan

  • Type or paste an OpenVMS spec into Remote Path: error shown, field cleared, setting not stored
  • Put a bracketed RemotePath in appsettings.json, open Settings: message shown, field blank
  • A normal Linux path such as /dga1303/1tallent/win is accepted unchanged

🤖 Generated with Claude Code

The remote path must be a Linux-style path. If the value contains [ or ]
(e.g. $1$DGA1303:[1tallent.WIN]) show an error and clear it, both when the
user types/pastes it and when a previously saved value is loaded.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@SteveIves
SteveIves merged commit 1a01b8a into master Nov 10, 2026
1 check passed
@SteveIves
SteveIves deleted the remote-path-validation branch November 10, 2026 18:43
@SteveIves SteveIves mentioned this pull request Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant