Fossil

Ticket Change Details
Login
Overview

Artifact ID: 587f0400e6b16899d5495ce887d2bf8cd3f9108423b872a5a1bfbd01c3c57f6b
Ticket: 4e558dbf3d2511ce5dbe52897900760da95fd272
Single quote in wiki page title results in bad link from timeline, [x](wiki:y'z)
User & Date: dbohdan 2020-09-28 14:47:55
Changes

  1. foundin changed to: "2.12.1"
  2. icomment:
    I have created a [wiki page with a single quote character in the title](https://dbohdan.com/wiki?name=Goethe%27s+Poems+translated+by+Paul+Dyrsen) on my site.  When I look at the [timeline](https://dbohdan.com/timeline), the link to the wiki page is broken: the single quote is escaped twice.
    
    ```html
    <span class='timelineModernComment'>
    Changes to wiki page <a href="/wiki?name=Goethe%26%2339%3Bs+Poems+translated+by+Paul+Dyrsen">Goethe&#39;s Poems translated by Paul Dyrsen</a>
    </span>
    ```
    
    It is also a problem to link to this page with the `[](wiki:)` syntax.  `[foo](Goethe's Poems translated by Paul Dyrsen)` translates to `<a href="/wiki?name=Goethe%27">foo</a>`.  Escaping the single quote with a slash does not change that.
    
    [A fresh Fossil repository with the issue](https://chunk.io/dbohdan/8f63264229ed4b019cbf10bcfe25786f.fossil).
    
  3. login: "dbohdan"
  4. mimetype: "text/x-markdown"
  5. private_contact changed to: "f4b679459a3c52d67a51ecd06fa3fba663ebe607"
  6. severity changed to: "Minor"
  7. status changed to: "Open"
  8. title changed to:
    Single quote in wiki page title results in bad link from timeline, [x](wiki:y'z)
    
  9. type changed to: "Code_Defect"