keishidesu / mmucraft-website Goto Github PK
View Code? Open in Web Editor NEWWebsite for MMUCraft Network
Home Page: http://minecraft.mmu.edu.my/
Website for MMUCraft Network
Home Page: http://minecraft.mmu.edu.my/
Occurs during an invitation request attempt. Entered email address, completed Recaptcha challenge, and then replace with another email address. Click on submit, the API generates an error.
The error appears to be generated by server-status.read
request when responding to the request with a JSON payload.
The abstraction of the error message:
[ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
Caused by an attempt to send data on a response after the response has already been sent.
After several attempts, couldn't reproduce.
Here. Users submitting the form twice using the same token which result in an error. Need to reset it regardless of any response.
Regarding item 3, the website never uses GET method in any API call. This detection probably causes by not marking form action with POST, which is unnecessary in our case, because everything is in AJAX on the website. Can possibly be solved by marking each form with action="POST"
Item 4 can be solved by adding X-Frame-Options: deny
header globally.
Item 2 might not be necessary since every request is RESTful and no authentication function is involved. Submitted required information for SSL certificate (Item 5). Staged changes for item 3 and 4.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.