Changes between Version 3 and Version 4 of Ticket #12813
- May 21, 2017, 1:36:41 AM (3 years ago)
v3 v4 3 3 The reason the method isn't robust is that it assume the path `/` corresponds to `wiki/WikiStart`, but this depends on [[TracIni#trac-default_handler-option|[trac] default_handler]] and the [/prefs/userinterface session preference] for default handler. 4 4 5 I seem to remember the issue coming up for other plugins as well . 5 I seem to remember the issue coming up for other plugins as well. 6 6 7 7 I've considered adding a function `resource_from_request`. The resource realm, id, parent realm/id and version can be parsed from the URL. However, I'm unsure how to get the `resource` for a request to `/`. Any ideas?