Skip to content

Commit

Permalink
Max File Size Limit for Video Files (OWASP#47)
Browse files Browse the repository at this point in the history
* Added Video Size Limit
  • Loading branch information
mathew-jose authored May 11, 2022
1 parent 160462b commit 1b80ce4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ app.service.name=crapi-identity


# max file size
spring.servlet.multipart.max-file-size=50MB
spring.servlet.multipart.max-file-size=10MB
# max request size
spring.servlet.multipart.max-request-size=50MB
1 change: 1 addition & 0 deletions services/web/src/components/profile/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ const Profile = (props) => {
<PageHeader
className="profile-header"
title="My Personal Video"
subTitle="Max File Size: 10MB"
extra={[
<Dropdown overlay={videoSideBar} key="drop-down">
<div>
Expand Down
2 changes: 1 addition & 1 deletion services/web/src/constants/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const COMMENT_NOT_ADDED = "Could not add comment";
export const PROFILE_PIC_UPDATED = "Profile pic updated successfully";
export const PROFILE_PIC_NOT_UPDATED = "Could not upload Picture";
export const VIDEO_UPDATED = "Video updated successfully";
export const VIDEO_NOT_UPDATED = "Could not change video";
export const VIDEO_NOT_UPDATED = "Could not upload video";
export const VIDEO_NAME_CHANGED = "Video Name Changed";
export const VIDEO_NAME_NOT_CHANGED = "Could not change video";
export const VIDEO_NOT_CONVERTED = "Could not convert video";
Expand Down

0 comments on commit 1b80ce4

Please sign in to comment.