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 3115 - Referer Truncates Query Part of URI
Summary: Referer Truncates Query Part of URI
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 1.0 (show other bugs)
Version: CSS Validator
Hardware: PC All
: P2 minor
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
Depends on:
Reported: 2006-04-12 17:10 UTC by D Sledge
Modified: 2010-02-11 22:35 UTC (History)
1 user (show)

See Also:


Description D Sledge 2006-04-12 17:10:58 UTC
Including a link to <> in a web
page will whose URI has more than one parameter in its query causes the validator to truncate everything after the first query parameter (e.g. the URI <> becomes <>).  Consequently it validates a page that might or might not have been the intended page to be validated.

The validator works fine if the URI to be validated is explicitly referenced; <>.

Note that the markup validator can handle documents that have multiple parameters in the query part of their URI that are submitted via a refered URI using the link
Comment 1 Olivier Thereaux 2007-09-27 02:50:04 UTC
fixed by move to velocity
Comment 2 Karel Van der Gucht 2010-02-11 11:59:37 UTC
This is part of my HTML.

<table summary="" cellspacing="0" cellpadding="0" class="emptyBox">
<TD align="center">
<a href="">
<img id="valid-html401" src="./img/valid-html401.png" onmouseover="vdgFuss(this, true);" onmouseout="vdgFuss(this, false);" alt="Valid HTML 4.01  Transitional" title="Valid HTML 4.01  Transitional" height="24">
<td align="center">
<a href=";submenu=ElternKindGruppenE">
<img id="vcss" height="24" src="./img/vcss.png" alt="Valid CSS" title="Valid CSS" onmouseover="vdgFuss(this, true);" onmouseout="vdgFuss(this, false);">

The URI will be truncated at the & (="&amp;") sign (as described in 3115).
If you call the CSS-Validator-Service like this, you willget an answer that all is ok but for the URI "until" the & and excluding the rest after "&".

The answer of the CSS-validator is:
Ergebnisse des CSS-Validators (CSS level 2.1)
Gratuliere! Keine Fehler gefunden.

The part "submenu=ElternKindGruppenE" is MISSING.

kind regards
Karel Van der Gucht
Comment 3 Ville Skyttä 2010-02-11 22:35:45 UTC
(In reply to comment #2)
> This is part of my HTML.
> <a
> href=";submenu=ElternKindGruppenE">

The "uri" argument needs to be URI escaped, just encoding HTML entities is not what you want there. Try this one instead: