In many use cases, neither a path nor a ?action= is set. Assuming these are set can result in errors