Skip to content

fixing guid validation so application does not throw validation error… - #2207

Merged
SoLetsDev merged 1 commit into
release/labour-mobilityfrom
fix/validation
Jul 27, 2026
Merged

fixing guid validation so application does not throw validation error…#2207
SoLetsDev merged 1 commit into
release/labour-mobilityfrom
fix/validation

Conversation

@SoLetsDev

Copy link
Copy Markdown
Contributor

name: Pull Request Template
about: Template for creating pull requests

Title

confirmed unit tests still pass
testing with bruno passing in non-guid attributes

this came about when I noticed zap scans were triggering 500 errors in our application instead of a bad request

--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
[01:07:05 ERR Serilog.AspNetCore.RequestLoggingMiddleware] HTTP GET /api/postSecondaryInstitutionList/id?name=ZAP&provinceId=%22%2F%3E%3Cxsl%3Avalue-of+select%3D%22system-property%28%27xsl%3Avendor%27%29%22%2F%3E%3C%21--&status=Active responded 500 in 3.3930 ms

Description

  • Change 1 detailed description
  • Change 2 detailed description
  • etc.

Related Jira Issue(s)

  • ECER-{###}
  • etc.

Checklist

  • I have tested these changes locally.
  • Changes to backend endpoints are covered by passing integration tests.
  • I have added or updated the necessary documentation.

Screenshots (if applicable)

Include screenshots to demonstrate the changes visually.

Additional Comments (optional)

Any additional context or information that might be helpful for the reviewer.

…s if someone inputs a non-guid input to a query param
@sonarqubecloud

Copy link
Copy Markdown

@SoLetsDev
SoLetsDev enabled auto-merge July 27, 2026 20:57
@SoLetsDev
SoLetsDev merged commit 953984d into release/labour-mobility Jul 27, 2026
16 checks passed
@SoLetsDev
SoLetsDev deleted the fix/validation branch July 27, 2026 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants