Skip to content

N°8148 - CAS problem when sending a link ending in &#722

Merged
rquetiez merged 3 commits intosupport/3.2from
feature/8148-CAS-url-problem
Jun 30, 2025
Merged

N°8148 - CAS problem when sending a link ending in &#722
rquetiez merged 3 commits intosupport/3.2from
feature/8148-CAS-url-problem

Conversation

@bdalsass
Copy link
Contributor

@bdalsass bdalsass commented Jun 3, 2025

Base information

https://support.combodo.com/pages/UI.php?operation=details&class=Bug&id=8148&c[menu]=TargetOverview

Symptom (bug) / Objective (enhancement)

Some url in iTop ends with a ampersand, that king of url are not processed by some CAS authentication providers,
so if user create shortcut to that url and trying to access them when they are not currently logged, the authentication process failed.

Reproduction procedure (bug)

Not reproduced with ou CAS server couple to a LDAP server, the url are processed correctly.

Cause (bug)

URL ending with ampersand

Proposed solution (bug and enhancement)

Prevent iTop from generating url ending with ampersand.

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have tested all changes I made on an iTop instance
  • I have added a unit test, otherwise I have explained why I couldn't
  • Is the PR clear and detailed enough so anyone can understand digging in the code?

@bdalsass bdalsass requested review from jf-cbd and rquetiez June 3, 2025 12:27
@bdalsass bdalsass self-assigned this Jun 3, 2025
@CombodoApplicationsAccount CombodoApplicationsAccount added the internal Work made by Combodo label Jun 3, 2025
@bdalsass bdalsass added the core label Jun 3, 2025
@bdalsass bdalsass added this to the 3.2.2 milestone Jun 3, 2025
@bdalsass bdalsass changed the base branch from develop to support/3.2 June 4, 2025 14:40
@dflaven
Copy link
Contributor

dflaven commented Jun 11, 2025

Test comment for VCS integration...

Copy link
Contributor

@rquetiez rquetiez left a comment

Choose a reason for hiding this comment

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

A few files could be left unchanged (unless a double ampersand in the middle of a URL could be an issue)

@odain-cbd odain-cbd deleted the branch support/3.2 June 19, 2025 08:31
@odain-cbd odain-cbd closed this Jun 19, 2025
@odain-cbd odain-cbd reopened this Jun 20, 2025
@rquetiez rquetiez self-requested a review June 30, 2025 12:15
Copy link
Contributor

@rquetiez rquetiez left a comment

Choose a reason for hiding this comment

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

Ok for the proposed implementation that enforces a correct format even if the trailer parameter is removed some time in the future...

@rquetiez rquetiez merged commit 062d543 into support/3.2 Jun 30, 2025
1 check failed
@rquetiez rquetiez deleted the feature/8148-CAS-url-problem branch June 30, 2025 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core internal Work made by Combodo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants