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

[POC] Implements support for URI parsing. #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jaylattice
Copy link

@jaylattice jaylattice commented Mar 2, 2020

As discussed in #8,

This PR is very quick POC for optional URI support. This PR is not ready to merge, because it does not abide by the SCIM spec. In order to implement URI parsing, I had to change the delimiter from ":" to "<". If anyone knows how to fix the potential issue in apg-lib discussed above, I would love some help.

// TODO -- sanitize `input` such that the last occurrence of ":" is replaced with a "<"
// e.g. "my:urn:here:some.attrPath" -> "my:urn:here<some.attrPath"
// This is hacky, but would allow us to support parsing URIs from attributePaths.

Copy link
Author

@jaylattice jaylattice Mar 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be a temporary hacky fix until we figure out what's wrong with apg-lib, but I think there would need to be similar sanitizations for compileFilter, compilePatchPath, etc.

Copy link

sonarcloud bot commented Feb 8, 2024

Quality Gate Passed Quality Gate passed

Issues
2 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

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.

1 participant