bitprj / Intro-To-Serverless

Managing a server is pretty complicated, but building with serverless architectures simplifies this process. As a student, mastering serverless functions can help you to build projects that solve real-world problems by integrating APIs, constructing user interfaces, and analysing data. Javascript is the core language of this course - one of the most in-demand languages to learn in the industry.
https://bitproject.org/serverless
GNU General Public License v3.0
46 stars 24 forks source link

[Content Bug] Week 4 -step 2 - Proposed solution for file type determination #476

Closed lechnerc77 closed 2 years ago

lechnerc77 commented 2 years ago

https://github.com/bitprj/Intro-To-Serverless/blob/main/.bit/responses/4.2-Week%204%20Step%202.md#2-input-validation

Identify Steps:

Week:

week 4

Describe the Issue

The section on input validation references several stack overflow questions that might lead to the wrong solution (like validating the file type via the file extension).

In general the solution should be to use the either HTML5 (like here) or use the File API to determine the name and the metadata (including the MIME type).

The sample solution shows the right path to solve the solution.

Proposed Fix

Adjust references in the text to give better guidance.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

lechnerc77 commented 2 years ago

@ganning127 @emsesc : Can you add the "pinned" label as for the other issues so that we do not lose the remarks. Many thanks!

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

lechnerc77 commented 2 years ago

reviving issue

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

lechnerc77 commented 2 years ago

bring issue back from living dead