Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • C cwod-sample-assessment
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • public_content
  • cwod-sample-assessment
  • Issues
  • #2

Closed
Open
Created Feb 17, 2021 by rajat sharma@rajat901cx💬

Special Characters in the name field of request URL may cause POST requests to fail

There is a possibility of POST request fails due to validations on the name field.

An application might only allow alphabets and spaces for the name field. So a request payload as,

{
"name":"crio-test-name",
"caption":"anything is fine here",
"url": "https://someimageurl.com"
}

will return a 400 Bad Request status code due to Validation Error as name contains an invalid character '-' which is not allowed by application's validation logic.

This might make it seem like application is not working properly where it was just doing it's job.

Assignee
Assign to
Time tracking

2019, Crio.Do, All Rights Reserved