[GH-ISSUE #1119] Suspect '&' In Company Name reduces functionality. #600

Closed
opened 2026-03-02 12:43:37 +03:00 by kerem · 4 comments
Owner

Originally created by @TechEnvyPtyLtd on GitHub (Sep 12, 2022).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/1119

Description

Some CIPP buttons are not working and I suspect it's when the company has an ampersand in the name as I'm seeing that pattern only.

Issue One
Click on Tenant Administration -> Administration -> List Tenants
Click on the '...' for a Tenant that contains a & in the Name and the button does nothing (no menu popups up etc).

Issue Two
Click on Tenant Administration -> Administration -> Standards (BPA)
Clicking on unused licenses for a company that contains the & in the name doesn't do anything (like it's not hyperlinked).

Environment data

Running latest self hosted (2.12.0 / 2.1.1) and recently re-deployed CIPP (issue existed before and after).
Originally created by @TechEnvyPtyLtd on GitHub (Sep 12, 2022). Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/1119 ### Description Some CIPP buttons are not working and I suspect it's when the company has an ampersand in the name as I'm seeing that pattern only. **Issue One** Click on Tenant Administration -> Administration -> List Tenants Click on the '...' for a Tenant that contains a & in the Name and the button does nothing (no menu popups up etc). **Issue Two** Click on Tenant Administration -> Administration -> Standards (BPA) Clicking on unused licenses for a company that contains the & in the name doesn't do anything (like it's not hyperlinked). ### Environment data ```PowerShell Running latest self hosted (2.12.0 / 2.1.1) and recently re-deployed CIPP (issue existed before and after). ```
kerem 2026-03-02 12:43:37 +03:00
Author
Owner

@github-actions[bot] commented on GitHub (Sep 12, 2022):

Thank you for creating a bug. Please make sure your bug is indeed a unique case by checking current and past issues, and reading the complete documentation at https://kelvintegelaar.github.io/CIPP
If your bug is a known documentation issue, it will be closed without notice by a contributor. To confirm that this is not a bug found in the documentation, please copy and paste the following comment: "I confirm that I have checked the documentation thoroughly and believe this to be an actual bug.".

Without confirming, your report will be closed in 24 hours. If you'd like this bug to be assigned to you, please comment "I would like to work on this please!".

<!-- gh-comment-id:1243184373 --> @github-actions[bot] commented on GitHub (Sep 12, 2022): Thank you for creating a bug. Please make sure your bug is indeed a unique case by checking current and past issues, and reading the complete documentation at https://kelvintegelaar.github.io/CIPP If your bug is a known documentation issue, it will be closed without notice by a contributor. To confirm that this is not a bug found in the documentation, please copy and paste the following comment: "I confirm that I have checked the documentation thoroughly and believe this to be an actual bug.". Without confirming, your report will be closed in 24 hours. If you'd like this bug to be assigned to you, please comment "I would like to work on this please!".
Author
Owner

@TechEnvyPtyLtd commented on GitHub (Sep 12, 2022):

I confirm that I have checked the documentation thoroughly and believe this to be an actual bug.

<!-- gh-comment-id:1243184814 --> @TechEnvyPtyLtd commented on GitHub (Sep 12, 2022): I confirm that I have checked the documentation thoroughly and believe this to be an actual bug.
Author
Owner

@adamburley commented on GitHub (Sep 12, 2022):

Attempted to replicate - Ellipsis menu in List Tenants responds as I'd expect. I have seen the error you're reporting - usually the ellipsis is unresponsive but a blinking cursor appears, as if the input is being rendered as a text field. I haven't been able to narrow down when it occurs.

I am able to replicate the error in Standards > Best Practices Analyzer. It occurs if the tenant Company Name value contains any symbol other than period (.). My sample pool shows failures like this on comma, ampersand, hyphen, and parentheses. It appears the Company Name value may not be urlencoded for that query.

Something went wrong.
TypeError: t.filter is not a function

P@https://cipp/static/js/main.98513513.js:2:15239
div
27998/Rr<@https://cipp/static/js/main.98513513.js:2:201597
div
27998/Nr<@https://cipp/static/js/main.98513513.js:2:198029
div
27998/Cr<@https://cipp/static/js/main.98513513.js:2:198299
div
t@https://cipp/static/js/main.98513513.js:2:130374
27998/wr<@https://cipp/static/js/main.98513513.js:2:199028
ce@https://cipp/static/js/main.98513513.js:2:45981
ie@https://cipp/static/js/main.98513513.js:2:44736
div
M@https://cipp/static/js/6971.dd17bab9.chunk.js:1:6566
se@https://cipp/static/js/main.98513513.js:2:44993
f@https://cipp/static/js/main.98513513.js:2:2210782
W@https://cipp/static/js/main.98513513.js:2:41115
Suspense
p@https://cipp/static/js/main.98513513.js:2:2210282
u@https://cipp/static/js/main.98513513.js:2:2207409
b
t@https://cipp/static/js/main.98513513.js:2:2377690
u@https://cipp/static/js/main.98513513.js:2:2204538
<!-- gh-comment-id:1243658359 --> @adamburley commented on GitHub (Sep 12, 2022): Attempted to replicate - Ellipsis menu in *List Tenants* responds as I'd expect. I have seen the error you're reporting - usually the ellipsis is unresponsive but a blinking cursor appears, as if the input is being rendered as a text field. I haven't been able to narrow down when it occurs. I **am** able to replicate the error in Standards > Best Practices Analyzer. It occurs if the tenant Company Name value contains any symbol other than period (.). My sample pool shows failures like this on comma, ampersand, hyphen, and parentheses. It appears the Company Name value may not be urlencoded for that query. ``` Something went wrong. TypeError: t.filter is not a function P@https://cipp/static/js/main.98513513.js:2:15239 div 27998/Rr<@https://cipp/static/js/main.98513513.js:2:201597 div 27998/Nr<@https://cipp/static/js/main.98513513.js:2:198029 div 27998/Cr<@https://cipp/static/js/main.98513513.js:2:198299 div t@https://cipp/static/js/main.98513513.js:2:130374 27998/wr<@https://cipp/static/js/main.98513513.js:2:199028 ce@https://cipp/static/js/main.98513513.js:2:45981 ie@https://cipp/static/js/main.98513513.js:2:44736 div M@https://cipp/static/js/6971.dd17bab9.chunk.js:1:6566 se@https://cipp/static/js/main.98513513.js:2:44993 f@https://cipp/static/js/main.98513513.js:2:2210782 W@https://cipp/static/js/main.98513513.js:2:41115 Suspense p@https://cipp/static/js/main.98513513.js:2:2210282 u@https://cipp/static/js/main.98513513.js:2:2207409 b t@https://cipp/static/js/main.98513513.js:2:2377690 u@https://cipp/static/js/main.98513513.js:2:2204538 ```
Author
Owner

@KelvinTegelaar commented on GitHub (Sep 16, 2022):

Can't replicate in neither dev nor prod. The issue @adamburley has is related to another issue that has been solved in dev.

<!-- gh-comment-id:1249275552 --> @KelvinTegelaar commented on GitHub (Sep 16, 2022): Can't replicate in neither dev nor prod. The issue @adamburley has is related to another issue that has been solved in dev.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/CIPP#600
No description provided.