Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML links to actions #192

Open
cdupont opened this issue Oct 2, 2017 · 0 comments
Open

HTML links to actions #192

cdupont opened this issue Oct 2, 2017 · 0 comments
Labels

Comments

@cdupont
Copy link
Collaborator

cdupont commented Oct 2, 2017

The web interface uses several links to perform actions.
For example, the link http://www.nomyx.net:8000/Nomyx/del-game/myGame
will delete the corresponding game.
This is wrong because a link will perform a GET, that should be referentially transparent.
For example, a mirroring tool will go through every links and delete the game, given sufficient rights.
The solution is to use adequate HTTP methods instead (DELETE, POST, PUT)

@cdupont cdupont added the bug label Oct 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant