8 Jan
2013
8 Jan
'13
7:57 p.m.
Jan wrote:
Nothing new with this patch. I found out it is not random, it depends on the length:
I can open:
file:/tmp/12345678901234567890123.jpg
but
file:/tmp/123456789012345678901234.jpg
returns a 404
32-byte limit? The first thing that popped into my mind was that sufficiently ancient systems would have path length limits like 32, but I don't see why that would apply here... dpi/file.c's File_normalize_path() has a "Dstr *ds = dStr_sized_new(32)". You could change the number and see whether anything happens. Although if Dstr should have problems resizing itself on irix, I'd be very surprised that dillo could even run at all.