From: Matthew B. <mat...@ou...> - 2006-06-26 08:57:27
|
Sean Mehan wrote: > Jon, thanks for all the work here. And thanks to those who got the fixes in. > > If you haven't seen it, there is a detailed set of comments and BUGS / > RFCs at > > http://www.bodington.org/wiki/index.php?title=TestRel2.8#Outline From the Wiki: Problem with 'URL Fix' as specified in release notes. The URL is resolved by checking that the resource exists but then referencing the parent resource. This is unlikely to be the resource that the user wanted to access. I would suggest instead that a permanently moved response is returned with the URL corrected by adding a slash to the end. That would be closer to what users expect and if the URL was found via a search engine it is possible that the engine will correct the URL. Does the release notes refer to the 2.8 release notes? If so the trailing URL fix only applies to /site being redirected to /site/ we could redirect other resources but the problem is that at the moment you can have an uploaded files named: /site/building/floor/example and a suite named: /site/building/floor/example/ and they both work as the trailing URL is used to distinguish them. We have two namespaces overlapping (files and resources) and we never check for clashes. There are methods in the API that are designed for this (nice one Jon) but currently they don't do checking. -- -- Matthew Buckett, VLE Developer -- Learning Technologies Group, Oxford University Computing Services -- Tel: +44 (0)1865 283660 http://www.oucs.ox.ac.uk/ltg/ |