joeblack9988 / slideshow

Automatically exported from code.google.com/p/slideshow
0 stars 0 forks source link

Not load images with '?' character into filename #221

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If a filename contains a '?' character not load de image.

What steps will reproduce the problem?
var id = 'fe1c3ed4-c57e-11e0-9572-0800200c9a66-ss';
var h = 700;
var w = 1000;
var vertical = 1;
var data = {
'photo.php?id=12345': {caption: 'blablabla', thumbnail: 
'thumbnail.php?id=12345'} , 
'photo.php?id=67890': {caption: 'blablabla', thumbnail: 
'thumbnail.php?id=67890'}
};
var options = { controller: 'true', thumbnails: 'true', captions: '{ delay: 
1000 }', delay: 5000, float: 'left', height: 700, width: 1000, overlap: '1'};
new Slideshow.Push(id, data, options);

What is the expected output? What do you see instead?
Not view the photo, only I see the progress.
Error log of apache say:
[Fri Oct 21 20:23:37 2011] [error] [client 192.168.3.103] script 
'/srv/www/images/thumb/photo.php' not found or unable to stat, referer: 
http://...
When the library try load the image only read the filename until '?' character 
(not included).

What version of the product are you using? On what operating system and browser?
Firefox 7.0.1
MooTools={version:"1.3.2",build:"c9f1ff10e9e7facb65e9481049ed1b450959d587"}
Slideshow-1.3.2.110508
Client: Linux openSuse 11.4
Server: Debian Squeeze 2.6.32-5-686

Original issue reported on code.google.com by cesarthe...@gmail.com on 21 Oct 2011 at 6:29

GoogleCodeExporter commented 8 years ago
Hi, I thought the issue of the question mark '?' in a compound url was dealt 
with in issue 209 which has been fixed !

Adam

Original comment by seeitont...@gmail.com on 13 Jun 2012 at 8:02