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 6896 - src http parameter is interpreted as src attribute of img tag
Summary: src http parameter is interpreted as src attribute of img tag
Status: RESOLVED INVALID
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: HEAD
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL: http://demo2.woopi.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-10 09:40 UTC by Viviana Menzel
Modified: 2015-02-16 00:16 UTC (History)
2 users (show)

See Also:


Attachments
Testpage and check result. (83.48 KB, application/octet-stream)
2009-05-10 09:40 UTC, Viviana Menzel
Details

Description Viviana Menzel 2009-05-10 09:40:31 UTC
Created attachment 693 [details]
Testpage and check result.

Line 201, Column 126: cannot generate system identifier for general entity "src"

<img src="/components/com_portfolio/includes/phpthumb/phpThumb.php?w=100&src=../../../../images/stories/portfolio/item_original/1_1241005270.png" border="0" alt=""/>

See attachment for more details.
Comment 1 Ville Skyttä 2009-05-10 13:10:54 UTC
Please read the explanation about this error given by the validator.  Or if there's something unclear about it, feel free to suggest an improvement.

[...] Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&amp;" (even inside URLs!). [...]

So instead of writing ...&src=..., write ...&amp;src=...