-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Affects Version/s: 1.4.2
-
Component/s: Page - Export / Import
-
Environment:
Java Version 1.4.2-rc1
Java Vendor Blackdown Java-Linux Team
JVM Version 1.0
JVM Vendor Sun Microsystems Inc.
JVM Implementation Version Blackdown-1.4.2-rc1
Java Runtime Java(TM) 2 Runtime Environment, Standard Edition
Java VM Java HotSpot(TM) Server VM
User Name jira
User Timezone Europe/Helsinki
Operating System Linux 2.6.9-1-686-smpJava Version 1.4.2-rc1 Java Vendor Blackdown Java-Linux Team JVM Version 1.0 JVM Vendor Sun Microsystems Inc. JVM Implementation Version Blackdown-1.4.2-rc1 Java Runtime Java(TM) 2 Runtime Environment, Standard Edition Java VM Java HotSpot(TM) Server VM User Name jira User Timezone Europe/Helsinki Operating System Linux 2.6.9-1-686-smp
When exporting a page to PDF, it fails if the given pageid is over 999. The result is a HTTP error 403 (Access to the specified resource () has been forbidden.)
The reason (as I see it) is that confluence formats the pageid number incorrectly, inserting a NBSP (0xA0) character as a thousand separator. For example pageid=1200:
https://xyz.comi/confluence/download/temp/export_10272005_132020/LINUX-1%A0200-20051027-13_20_20.pdf
For pages with pageid < 1000, this does not occur and they work just fine.
This is probably due to Linux/Java locale settings, but Confluence should not use these in a context like this.