Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #683 (closed defect: fixed)

Opened 13 years ago

Last modified 12 years ago

FeedController, redirect to default feed, generates an incorrect URL

Reported by: anonymous Owned by: anonymous
Priority: normal Milestone: 0.9a2
Component: TurboGears Version:
Severity: normal Keywords:


Create a controller. Mount it in the Root controller as A. Create a FeedController?. Mount it in controller A as B. You should now have URLS of: '/A/B/rss2.0', '/A/B/atom1.0', and '/A/B/atom0.3'. If you access '/A/B', you should be redirected to the default feed type, which is normally atom1.0, so it should be generating a URL of '/A/B/atom1.0'. Instead, it will generate a URL of '/B/A/atom1.0'.

Change History

comment:1 Changed 13 years ago by kevin

  • Status changed from new to closed
  • Component changed from CherryPy to TurboGears
  • Resolution set to fixed

fixed in [1029]. (I didn't test FeedController? in particular, but I did fix the general problem of url() flipping around the elements in the application root.)

Note: See TracTickets for help on using tickets.