This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7520 - TranscodingActionResizeImg: local images not correctly detected
Summary: TranscodingActionResizeImg: local images not correctly detected
Status: REOPENED
Alias: None
Product: mobileOK authoring tools
Classification: Unclassified
Component: Transcoding (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Sylvain Lequeux
QA Contact: fd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-07 09:21 UTC by fd
Modified: 2009-09-07 17:09 UTC (History)
0 users

See Also:


Attachments

Description fd 2009-09-07 09:21:32 UTC
The code in image_analyse fails to identify as local content images with relative paths. The only case handled in the code is when the reference starts with "." as in "./foo.png".

Lack of "://" should rather be used to detect relative path references.
Comment 1 fd 2009-09-07 17:09:34 UTC
An absolute URI may still target content local to the server. Where has the code that checked the http://[server name]/ case gone?