Skip to content

[JENKINS-2334] FormFieldValidator PATH check removes \ from Windows path before exe check #14055

Closed

Description

@jenkins-infra-bot

When I tested this patch bug 2317 I noticed that the QuotedStringTokenizer
mangled my windows directory paths. C:\WINDOWS\system32 came out as
C:WINDOWSsystem32.
Which explained why it couldn't locate cvs even when it is on the path.


Originally reported by jjasper, imported from: FormFieldValidator PATH check removes \ from Windows path before exe check
  • assignee: jjasper
  • status: Closed
  • priority: Major
  • component(s): core
  • resolution: Fixed
  • resolved: 2008-09-06T11:40:56+00:00
  • votes: 0
  • watchers: 0
  • imported: 2025-11-24
Raw content of original issue

When I tested this patch bug 2317 I noticed that the QuotedStringTokenizer mangled my windows directory paths. C:\WINDOWS\system32 came out as C:WINDOWSsystem32. Which explained why it couldn't locate cvs even when it is on the path.

  • environment: Platform: All, OS: All

Activity

  1. jenkins-infra-bot commented on Sep 6, 2008

    @jenkins-infra-bot
    Author
    scm_issue_link:

    Code changed in hudson
    User: : jjasper
    Path:
    trunk/hudson/main/core/src/main/java/hudson/util/FormFieldValidator.java
    trunk/www/changelog.html
    http://fisheye4.cenqua.com/changelog/hudson/?cs=12047
    Log:
    [FIXED JENKINS-2334] FormFieldValidator check for Windows path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions