<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>1171</bug_id>
          
          <creation_ts>2005-03-18 16:13:59 +0000</creation_ts>
          <short_desc>leading slash should be removed in valid.tmpl</short_desc>
          <delta_ts>2005-03-19 15:03:19 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>check</component>
          <version>0.7.0</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="victory">w3bug</reporter>
          <assigned_to name="Terje Bless">link</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3904</commentid>
    <comment_count>0</comment_count>
    <who name="victory">w3bug</who>
    <bug_when>2005-03-18 16:13:59 +0000</bug_when>
    <thetext>in validator.conf, 
# The &quot;Home Page&quot; for the service.  Make sure this ends with a slash.
Home Page = http://validator.w3.org/

and in templates/en_US/valid.tmpl line 40
    &amp;lt;a href=&quot;&lt;TMPL_VAR NAME=&quot;cfg_home_page&quot;
ESCAPE=&quot;HTML&quot;&gt;/check/referer&quot;&amp;gt;&amp;lt;img

these produce wrong source below
&lt;pre&gt;  &amp;lt;p&amp;gt;
    &amp;lt;a href=&quot;http://validator.w3.org//check/referer&quot;&amp;gt;&amp;lt;img
        src=&quot;http://www.w3.org/Icons/valid-xhtml10&quot;
        alt=&quot;Valid XHTML 1.0 Strict&quot; height=&quot;31&quot; width=&quot;88&quot;/&amp;gt;&amp;lt;/a&amp;gt;
  &amp;lt;/p&amp;gt;
  &lt;/pre&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3908</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2005-03-19 14:29:13 +0000</bug_when>
    <thetext>Agreed. 

Since validator.conf specifically calls for a trailing slash, it seems reasonable to remove the slash before 
check. Also verified that cfg_home_page is not used in other templates.

Fixed in CVS:
http://dev.w3.org/cvsweb/validator/share/templates/en_US/valid.tmpl.diff?r1=1.9&amp;r2=1.10

Thanks for the report.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3910</commentid>
    <comment_count>2</comment_count>
    <who name="victory">w3bug</who>
    <bug_when>2005-03-19 14:57:21 +0000</bug_when>
    <thetext>thanks, verified :-)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>