mirror of https://github.com/jenkinsci/jenkins.git
				
				
				
			[FIXED HUDSON-4894] match windows absolute path like C:/path as requested by torbent.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23889 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
		
							parent
							
								
									da9cdc71b6
								
							
						
					
					
						commit
						a96c6e02f8
					
				|  | @ -220,7 +220,7 @@ public final class FilePath implements Serializable { | |||
|         return rel.startsWith("/") || DRIVE_PATTERN.matcher(rel).matches(); | ||||
|     } | ||||
| 
 | ||||
|     private static final Pattern DRIVE_PATTERN = Pattern.compile("[A-Za-z]:\\\\.*"); | ||||
|     private static final Pattern DRIVE_PATTERN = Pattern.compile("[A-Za-z]:[\\\\/].*"); | ||||
| 
 | ||||
|     /** | ||||
|      * Checks if the remote path is Unix. | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue