-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
Windows XP SP2 with language settings set for Russian language,
Hudson 1.339
If I set other than "All" view as default view, link on "All" view will be broken.
It will be in Russian locale:
http://localhost/view/%D0%92%00%D1%81%00%D0%B5%00/
But should be:
http://localhost/view/%D0%92%D1%81%D0%B5/
Note that first case has unnecessary zero byte after each 2-byte unicode sequence.
Noticed after ungrade to 1.339.
UPDATE:
Actually if I try to create any view with Russian name, link on it will be incorrect (with unexpected zeroes).
[JENKINS-5155] Link on view containing non-latin characters is broken since hudson 1.339
Description |
Original:
If I set other than "All" view as default view, link on "All" view will be broken. It will be in Russian locale: http://localhost/view/%D0%92%00%D1%81%00%D0%B5%00/ But should be: http://localhost/view/%D0%92%D1%81%D0%B5/ Note that first case has unnecessary zero byte after each 2-byte unicode sequence. Noticed after ungrade to 1.339. |
New:
If I set other than "All" view as default view, link on "All" view will be broken. It will be in Russian locale: http://localhost/view/%D0%92%00%D1%81%00%D0%B5%00/ But should be: http://localhost/view/%D0%92%D1%81%D0%B5/ Note that first case has unnecessary zero byte after each 2-byte unicode sequence. Noticed after ungrade to 1.339. UPDATE: Actually if I try to create any view with Russian name, link on it will be incorrect (with unexpected zeroes). |
Summary | Original: Localized link on "All" view is broken since hudson 1.339 | New: Link on view containing non-latin characters is broken since hudson 1.339 |
Environment | Original: Hudson 1.339 |
New:
Windows XP SP2 with language settings set for Russian language, Hudson 1.339 |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JNJira [ 135241 ] | New: JNJira + In-Review [ 203351 ] |
Code changed in hudson
User: : kohsuke
Path:
trunk/hudson/main/core/src/main/java/hudson/Util.java
trunk/www/changelog.html
http://fisheye4.cenqua.com/changelog/hudson/?cs=25962
Log:
[FIXED JENKINS-5155] in 1.342. The root cause of the problem is that the backing byte[] of ByteBuffer can be bigger than the actual current content that's on it — in the case of the reporter he got byte[3] as the backing buffer when only two bytes of it is in use.