jenkinsci / jenkinsci/subversion-plugin

[JENKINS-24405] Validation of Subversion URL should ignore @$Var (Ie. variable peg-revision)

Open
#1,162 0 comments 0 reactions 0 assignees View on GitHub
component:subversion-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
131
Forks
275
Avg merge
12h 4m
Merged PRs (30d)
6

Description

Hi!

It‘s already possible to limit the validation of a subversion URL only up to the first $ sign.

But, if I use a variable to specify the peg-revision (may containing a number or “HEAD”) and the character '@' is used as (prefix-) part within the URL, like:

https://anyhost/svn/project/trunk/GMC@$Revision

The job-configuration does display the error-message:

"/trunk/GMC@" doesn't exist in the repository. Maybe you meant "/trunk/GMC"?

In my opinion, the limited URL-validation should also recognize this pattern; Ie. Validation should be done up to the first $-sign (as now) or the first @$-pair; if the corresponding configuration (within global settings) is set.

Best regards from Salzburg,

Markus

---
Originally reported by ibiatiroler, imported from: Validation of Subversion URL should ignore @$Var (Ie. variable peg-revision)


  • status: Open
  • priority: Minor
  • component(s): subversion-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251212-090250

Raw content of original issue

Hi!

It‘s already possible to limit the validation of a subversion URL only up to the first $ sign.

But, if I use a variable to specify the peg-revision (may containing a number or “HEAD”) and the character '@' is used as (prefix-) part within the URL, like:
https://anyhost/svn/project/trunk/GMC@$Revision

The job-configuration does display the error-message:
"/trunk/GMC@" doesn't exist in the repository. Maybe you meant "/trunk/GMC"?

In my opinion, the limited URL-validation should also recognize this pattern; Ie. Validation should be done up to the first $-sign (as now) or the first @$-pair; if the corresponding configuration (within global settings) is set.

Best regards from Salzburg,
Markus

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.