USACE / USACE/cwms-data-api

Add note about sanitizer and consider methods to acquire a centrally configured sanitizer

Open
#636 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
28
Forks
25
Avg merge
4d 22h
Merged PRs (30d)
20

Description

As discussed in https://github.com/USACE/cwms-data-api/pull/631

Its not always easy or convenient to pull a sanitizer out of request context.

Its also possible that we need to investigate html sanitizer vs json/xml sanitizer

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the discussion in pull request #631 and trace how sanitizers are obtained from request context. The issue names no files or tests; completion would require documenting sanitizer expectations and reaching a decision on centrally configured acquisition and HTML versus JSON/XML sanitization.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.