Skip to content

[BUG] It is possible to generate a Organization with no name. #774

Description

@Xniveres

Description

[What happened]
I was able to generate a Organization with no name with a manually generated HTTP request.

Steps to reproduce the behaviour:

Send a HTTP request like this:

POST /api/v1/organizations HTTP/1.1
Host: app.appsmith.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0
Accept: application/json, text/plain, */*
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/json
Content-Length: 18
Origin: https://app.appsmith.com
Referer: https://app.appsmith.com/applications
Connection: close
Cookie: SESSION=notstealingmycookie

{"name":""}

Important Details

  • Version: Cloud
  • OS: Windows
  • Browser Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    BackendThis marks the issue or pull request to reference server codeBugSomething isn't workingGood First IssueGood for newcomersLowAn issue that is neither critical nor breaks a user flowVerifiedWhen issue is retested post its fixedhacktoberfestAll issues that can be solved by the community during Hacktoberfest

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions