#3231 Issues with using . in a wiki page name [22672]

v1.0.0
closed
sf-2 (994)
Wiki
nobody
2015-08-20
2011-11-10
Chris Tsai
No

https://sourceforge.net/apps/trac/sourceforge/ticket/22672

if I create a page in my project wiki with a name that contains a dot there are problems

Indeed, I tried creating a few pages with dots in the name in my test project, and I found that when I try to edit them, the .blah is removed on the edit page.

Eg. if I go to https://sourceforge.net/p/fancypants/home/one.dot/ (which has no content) I get redirected to https://sourceforge.net/p/fancypants/home/one/edit

Let's fix several other similar wiki issues with certain characters. Take a look at this: https://sourceforge.net/p/allura/tickets/search/?q=status%3Aopen+%26%26+wiki&sort=ticket_num_i+desc&limit=50 (search is too broad, but will help)

Discussion

  • Dave Brondsema

    Dave Brondsema - 2011-11-17
    • component: General --> Wiki
    • milestone: limbo --> forge-backlog
     
  • Dave Brondsema

    Dave Brondsema - 2011-12-02
    • Description has changed:

    Diff:

    --- old 
    +++ new 
    @@ -5,3 +5,5 @@
     Indeed, I tried creating a few pages with dots in the name in my [test project](https://sourceforge.net/p/fancypants/home/browse_pages/), and I found that when I try to edit them, the .blah is removed on the edit page.
    
     Eg. if I go to https://sourceforge.net/p/fancypants/home/one.dot/ (which has no content) I get redirected to https://sourceforge.net/p/fancypants/home/one/edit
    +
    +**Let's fix several other similar wiki issues with certain characters**.  Take a look at this: https://sourceforge.net/p/allura/tickets/search/?q=status%3Aopen+%26%26+wiki&sort=ticket_num_i+desc&limit=50 (search is too broad, but will help)
    
    • milestone: forge-backlog --> forge-dec-09
     
  • Dave Brondsema

    Dave Brondsema - 2011-12-02
    • size: --> 2
     
    • status: open --> in-progress
    • assigned_to: Tim Van Steenburgh
     
  • forge:tv/3231

    QA: Create a wiki page with a '.' in the name, where the dotted part is a legit file extension like '.dot or .json'. Make sure the page still works (displays, and can be edited).

    (Other wiki fixes will be committed separately under their respective tickets.)

     
    • status: in-progress --> code-review
    • qa: John Hoffmann ☠
     
  • John Hoffman - 2011-12-12
    • status: code-review --> closed
     
  • John Hoffman - 2011-12-12

    Merged to dev. Had a conflict in the unit test, resolved.

     

Log in to post a comment.