Forum Bugs

no resolving of %nn escapes in image url

Anonymous
Hi,
we have images with '%' in filename and problems to reference them from the source document:

The filename is 'test%2Fimage.png'

The following does not work with prince, but with browsers:
<img src="test%252Fimage.png"/>

On the other side the following works:
<xi:include href="test%252Finclude.xml"/>

The obscure filenames result from downloads via CGI-URLs with w_get and can not easy modified by us.

I think prince must decode the '%nn' escapes in the img - src attribute !?

Stephan
mikeday
This looks like an oversight in Prince, in which it is not decoding escaped characters in the URL. We will fix this issue for the next release.

Thanks for posting! :D
mikeday
We have fixed this issue in Prince 5.1 rev 5, available for download right now! :D