[IPOL discuss] file exploited in template html page
Miguel Colom
colom at cmla.ens-cachan.fr
Tue Feb 25 12:49:34 CET 2014
Quoting Bertrand Kerautret <bertrand.kerautret at univ-lorraine.fr>:
> Yes, but it is just an image tools exploited in the script for instance here:
> https://github.com/nilx/ipol_demo/blob/master/app/40/template/params.html#L140
>
> And sorry it doesn't mention purple but just http://dev.ipol.im/~x
> I use it for the demo 71 (http://dev.ipol.im/~kerautre/ipol_demo/71/)
> To limit the pb I can use le same link than the actual demo 71.
> Thank,
> Bertrand
Well, the URLs in http://dev.ipol.im/~xxx belong to the Purple server,
so it's the same problem.
In my opinion, this particular demo is doing wrong hotlinking the
image from Purple, and this should be always avoided. The behaviour of
the production server should never depend on the test server.
I'd recommend that all demos don't use any static content
(scripts/images) and follow the standard structure. If this isn't
possible, then we have to think where to put them.
We have two options:
1) Add static directories to the demos.
2) Create a central repository of static content where all demos can
hotlink any script or image they need.
Miguel
More information about the discuss
mailing list