Ticket #602 (closed defect: wontfix)

Opened 7 months ago

Last modified 7 months ago

Expanding child pages fail if ending slash

Reported by: watson Assigned to:
Priority: minor Milestone:
Component: core Keywords:
Cc:

Description

I have set up an Apache re-writing rule that automatically adds a trailing slash to all URL's of any non-GET HTTP request.

This used to work fine, but I'm now running on Radiant edge, and there seems to be an issue when viewing /admin/pages/ instead of /admin/pages.

When clicking the little + (plus) to the left of a page that has child-pages, it correctly expands a box below that page, but inside the expansion it shows the default radiant "File Not Found Page".

I get the following in the development log:

404 Not Found [http://www.example.com/admin/admin/ui/pages/children/4/1]

As far as I can see it can't handle the extra slash and adds two /admin after each other.

Temporary fix:
If I add the following rewrite condition to the virtual host it works fine again:

RewriteCond %{REQUEST_URI} !^/admin/

This above RewriteCond makes sure that any URL that starts with /admin/ does not get a trailing slash.

Change History

02/03/08 13:45:53 changed by seancribbs

  • status changed from new to closed.
  • resolution set to wontfix.

This is a server configuration issue, not a bug with Radiant.