brendanheywood / moodle-local_cleanurls

Lets drag Moodle's url structure into this century...
37 stars 24 forks source link

Investigate cleaned urls which are http POST'ed #98

Open brendanheywood opened 7 years ago

brendanheywood commented 7 years ago

Not sure if there is an actual problem, and it might just be some overlap with this issue:

https://github.com/brendanheywood/moodle-local_cleanurls/issues/88

Many moodle pages post to a url which doesn't have say a ?id=123 but is effectively still the same url. In these cases the router.php doesn't see it because it only looks are get, so it isn't really uncleaned, but then it then does a JS http push state clean after the page has loaded. This second cleaning isn't perfect.

So needs some thought, but I suspect it boils down to:

roperto commented 7 years ago

Regardign first checkbox: I believe no pages be rendered after a post, it should have a redirect which MDL-53357 should fix.

brendanheywood commented 7 years ago

I believe no pages be rendered after a post, it should have a redirect which MDL-53357 should fix.

This assumption isn't correct and we cannot assume this at all. Heaps of pages serve a valid page after post.