Skip to content

Commit 1a235ab

Browse files
ahadaliogluAhad Mammadov
andauthored
rawEncoding getSafeName within getRelativePathFrom in TestObject.java (#668)
Co-authored-by: Ahad Mammadov <[email protected]>
1 parent 39e1716 commit 1a235ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/hudson/tasks/test/TestObject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public String getRelativePathFrom(TestObject it) {
161161
while (next != null && it != next) {
162162
cur = next;
163163
buf.insert(0, '/');
164-
buf.insert(0, cur.getSafeName());
164+
buf.insert(0, Util.rawEncode(cur.getSafeName()));
165165
next = cur.getParent();
166166
}
167167
if (it == next) {

0 commit comments

Comments
 (0)