Fix a critical vulnerability of the corpus manager
When the platform is installed in server mode, if the user edit the URL in his browser's address bar, he can get writing permissions on the corpus stored on the server.
When the platform is installed in server mode, if the user edit the URL in his browser's address bar, he can get writing permissions on the corpus stored on the server.