<?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>9324</bug_id>
          
          <creation_ts>2010-03-25 17:20:28 +0000</creation_ts>
          <short_desc>&quot;Save as&quot; builds a weird href for style sheet in Windows</short_desc>
          <delta_ts>2013-09-24 12:12:31 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Amaya</product>
          <component>Publishing</component>
          <version>11.3.1</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Juan Lanus">juan.lanus</reporter>
          <assigned_to name="Vatton">Irene.Vatton</assigned_to>
          <cc>carcone</cc>
    
    <cc>emilien.kia</cc>
    
    <cc>fred.wang</cc>
    
    <cc>Irene.Vatton</cc>
    
    <cc>mackenzie</cc>
    
    <cc>vincent.quint</cc>
          
          <qa_contact name="Vatton">Irene.Vatton</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>33917</commentid>
    <comment_count>0</comment_count>
    <who name="Juan Lanus">juan.lanus</who>
    <bug_when>2010-03-25 17:20:28 +0000</bug_when>
    <thetext>After &quot;saving as&quot; a document specifying &quot;Copy resources&quot; and a changed target directory under &quot;Where to save resources&quot;, Amaya builds a wrong href for a style sheet. 
The resulting href is href=&quot;./\agenda.css&quot; which has two consecutive slashes of different kinds. 
The reverse DOS-type slash before &quot;agenda&quot; should not be there. 
It works, maybe because the browsers (FF, IE, Chrome, Amaya) handle the \ as an unneeded escape character. 
But it should not be there. 

This is Amaya 11.3.1 and Windows XP. 

Below you can see the document´s first few lines, before and after. 

&lt;?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot;?&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot;
      &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
  &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=iso-8859-1&quot; /&gt;
  &lt;title&gt;agenda 22mar2010 monday&lt;/title&gt;
  &lt;link rel=&quot;stylesheet&quot; href=&quot;agenda.css&quot; type=&quot;text/css&quot; /&gt; 
&lt;/head&gt;

&lt;?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot;?&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot;
      &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
  &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=iso-8859-1&quot; /&gt;
  &lt;title&gt;agenda 22mar2010 monday&lt;/title&gt;
  &lt;link rel=&quot;stylesheet&quot; href=&quot;./\agenda.css&quot; type=&quot;text/css&quot; /&gt; 
&lt;/head&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93717</commentid>
    <comment_count>1</comment_count>
    <who name="Mackenzie Andersen">mackenzie</who>
    <bug_when>2013-09-24 12:12:31 +0000</bug_when>
    <thetext>I have been experiencing the same. This after years of Amaya working without a problem. Before the weird style sheet phenomena started happening, &quot;Save AS&quot; command started removing all my file directories from my html code and making copies of image files in the general directory.

Then- after a while, it started added &quot;./\&quot; in front of the style sheet name, which is located in the general directory.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>