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

fix: URI encoding for project name #8

Merged
merged 1 commit into from
Feb 17, 2025
Merged

Conversation

Luisotee
Copy link
Collaborator

This pull request includes changes to the src/routes/auth.js file to ensure that project names are properly decoded before being processed. The most important changes include decoding the project name before checking for existing coordinators and projects, and updating all relevant log messages and comparisons to use the decoded project name.

Improvements to project name handling:

  • Decoded the projectName using decodeURIComponent before checking if a coordinator or project already exists.
  • Updated the findCoordinatorByProject and projects.find methods to use decodedProjectName instead of projectName.
  • Updated log messages to use decodedProjectName instead of projectName for consistency and accuracy. [1] [2]

Additional formatting changes:

  • Added spacing between function blocks for better readability. [1] [2]

@luandro luandro merged commit eae43ca into digidem:main Feb 17, 2025
2 checks passed
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