[JENKINS-2379] Build artifacts with colons in their name don't work #14063
Copy link
Copy link
Closed
Description
If I have a build artifact with a colon in the file name it is displayed
properly, but the URL it the filename itself, without the whole http://
blah.blah/blah.
I will attach screen images with tooltips to show what I mean.
Originally reported by
pgweiss, imported from: Build artifacts with colons in their name don't work
- assignee:
mindless
- status: Closed
- priority: Major
- component(s): core
- resolution: Fixed
- resolved: 2009-01-02T11:18:08+00:00
- votes: 0
- watchers: 0
- imported: 2025-11-24
Raw content of original issue
If I have a build artifact with a colon in the file name it is displayed properly, but the URL it the filename itself, without the whole http:// blah.blah/blah.
I will attach screen images with tooltips to show what I mean.
- environment:
Platform: All, OS: All
2 attachments
Reactions are currently unavailable


Activity
jenkins-infra-bot commentedon Sep 17, 2008
Raw content of original comment:
Created an attachment (id=384)
The bad link (see tooltip)
jenkins-infra-bot commentedon Sep 17, 2008
Raw content of original comment:
Created an attachment (id=385)
The correct link (see tooltip)
jenkins-infra-bot commentedon Jan 1, 2009
Raw content of original comment:
Working on this.. all items there are written as href="name", ie just a relative
pathname... it is not urlencoded, so your browser interprets stuff:morestuff as
stuff: being the protocol for the link.. need to urlencode.
jenkins-infra-bot commentedon Jan 1, 2009
Raw content of original comment:
started
jenkins-infra-bot commentedon Jan 2, 2009
Raw content of original comment:
Code changed in hudson
User: : mindless
Path:
trunk/hudson/main/core/src/main/java/hudson/model/DirectoryBrowserSupport.java
trunk/hudson/main/core/src/main/java/hudson/model/Run.java
trunk/hudson/main/core/src/main/resources/lib/hudson/artifactList.jelly
trunk/hudson/main/core/src/test/java/hudson/model/RunTest.java
http://fisheye4.cenqua.com/changelog/hudson/?cs=14106
Log:
[FIXED JENKINS-2379] Fix artifact archiver and workspace browser to handle filenames
that need URL-encoding.
jenkins-infra-bot commentedon Jan 10, 2009
Raw content of original comment:
Code changed in hudson
User: : mindless
Path:
trunk/hudson/main/core/src/main/java/hudson/Util.java
trunk/hudson/main/core/src/main/java/hudson/model/DirectoryBrowserSupport.java
trunk/hudson/main/core/src/main/java/hudson/model/Run.java
trunk/hudson/main/core/src/main/resources/hudson/model/DirectoryBrowserSupport/dir.jelly
trunk/hudson/main/core/src/main/resources/hudson/model/Run/artifacts-index.jelly
trunk/hudson/main/core/src/main/resources/lib/hudson/artifactList.jelly
trunk/hudson/main/core/src/test/java/hudson/UtilTest.java
trunk/www/changelog.html
http://fisheye4.cenqua.com/changelog/hudson/?cs=14355
Log:
[FIXED JENKINS-2793] Fix from
JENKINS-2379introduced a bug for artifact/workspacefilenames with spaces.
RFC1738) and deprecated Util.encode which only encodes non-ASCII. Unit test too.
so & and < are encoded for HTML display