#458 closed defect (fixed)

"other representations" broken in webish ui

Reported by: robk Owned by:
Priority: major Milestone: 1.2.0
Component: code-frontend-web Version: 1.0.0
Keywords: Cc:
Launchpad Bug:

Description (last modified by zooko)

when viewing a directory in the webish ui, the 'other respresentations' links for files are broken, they all point to "/uri/filename.ext?..."

thus providing representations such as

"'filename.ext' is not a valid file- or directory- cap"

Change History (2)

comment:1 Changed at 2008-06-11T15:54:36Z by zooko

  • Description modified (diff)
  • Milestone changed from 1.1.1 to 1.1.0

Fixed by 65618ba5a26c5699, I think. But also we really want to make it so that directories without trailing slashes get 301-moved-permanently-ed to the same thing with a trailing slash, which Brian says he knows how to easily enable.

comment:2 Changed at 2008-06-11T22:08:34Z by warner

  • Milestone changed from 1.1.0 to 1.1.1
  • Resolution set to fixed
  • Status changed from new to closed

We fixed this for 1.1.0, by making the subdirectory links point to a URL that ends in a slash.

Then we added the proper addSlash=True, so that if you happen to follow a link that doesn't end in a slash, you get redirected to a page that ends in a slash. We also had to fix a unit test that incorrectly asserted that a mutable-file overwrite when-done URL did not end in a slash. This second fix went in after the 1.1.0 tag, so it will be first released in 1.1.1 .

So this is the first ticket closed with a 1.1.1 milestone.

Note: See TracTickets for help on using tickets.