Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using saved information in Edge leads to unvalid HTTP-request #4553

Open
2 tasks done
KS-DR opened this issue Jan 14, 2025 · 0 comments
Open
2 tasks done

Using saved information in Edge leads to unvalid HTTP-request #4553

KS-DR opened this issue Jan 14, 2025 · 0 comments
Labels
defect Something isn't working in triage

Comments

@KS-DR
Copy link

KS-DR commented Jan 14, 2025

Current Behavior

When using saved information to fill out a HTML form quickly, Edge will send "" instead of NULL for some request parameters, making the request unvalid in some cases.

Steps to Reproduce

  1. Create a component with only a name and a version (CPE input field is empty)
  2. Create the same component again, until Edge will suggest to fill out the form for you with saved information
  3. Note that the CPE input field is still empty, as for all requests before (no whitespace)
  4. Get HTTP status 400 (Reason for that is, that "" was send as CPE instead of NULL)

Expected Behavior

DT should also accept "" being send by the browser as value instead of NULL.

Dependency-Track Version

4.12.2

Dependency-Track Distribution

Container Image

Database Server

PostgreSQL

Database Server Version

14.7

Browser

Microsoft Edge

Checklist

@KS-DR KS-DR added defect Something isn't working in triage labels Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Something isn't working in triage
Projects
None yet
Development

No branches or pull requests

1 participant