Giter Club home page Giter Club logo

mmucraft-website's People

Contributors

bingquanchua avatar dependabot[bot] avatar keishidesu avatar manyimy avatar tajam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mmucraft-website's Issues

Server status request crashes API, but couldn't reproduce

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.

Security feedback from TM GIS

Summary of the feedbacks

  1. The webpage generates error messages.
  2. HTML forms without CSRF protection.
  3. Password field submitted using GET method. (???)
  4. Clickjacking protection.
  5. The website not encrypted (HTTPS required)

Updates

11/9

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.

23/9

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.