Closed noisesmith closed 10 years ago
The file-separator was being used for resources inside jars, and the jvm does not like "\" as a path separator.
Since Windows is already flexible about using "/" as a file separator, we can fix the template not found issues by ignoring the system path separator.
I have verified that templates are now being found, and image upload and serving of images to the client do not regress with this change.
Recommended for immediate merge.
Merged. Thanks! The windows people are grateful.
The file-separator was being used for resources inside jars, and the jvm does not like "\" as a path separator.
Since Windows is already flexible about using "/" as a file separator, we can fix the template not found issues by ignoring the system path separator.
I have verified that templates are now being found, and image upload and serving of images to the client do not regress with this change.
Recommended for immediate merge.