Skip to content

Conversation

@artonge
Copy link
Contributor

@artonge artonge commented Oct 9, 2025

When hitting the /contactsmenu/contacts endpoint with the dav.system_addressbook_exposed config switch set to "no", the system address book content is still listed in the response.

@artonge artonge added this to the Nextcloud 33 milestone Oct 9, 2025
@artonge artonge self-assigned this Oct 9, 2025
@artonge artonge added the bug label Oct 9, 2025
@artonge artonge added 3. to review Waiting for reviews php Pull requests that update Php code feature: contacts labels Oct 9, 2025
@artonge artonge requested review from come-nc, icewind1991 and sorbaugh and removed request for a team October 9, 2025 16:12
@artonge artonge force-pushed the artonge/fix/do_not_expose_system_address_book_in_contacts branch from 68ba9a7 to 4eaa956 Compare October 9, 2025 16:19
@ChristophWurst
Copy link
Member

@artonge I think it's better to only backport the first commit. the refactoring will fail on older releases and it's not essential

@artonge artonge force-pushed the artonge/fix/do_not_expose_system_address_book_in_contacts branch 2 times, most recently from 8653b32 to 6f97a20 Compare October 10, 2025 14:30
When hitting the `/contactsmenu/contacts` endpoint with the `dav.system_addressbook_exposed` config switch set to `"no"`, the system address book content is still listed in the response.

This ensure that we do not expose unexpectedly the system address book.

Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: Louis Chmn <louis@chmn.me>
@artonge artonge force-pushed the artonge/fix/do_not_expose_system_address_book_in_contacts branch from 6f97a20 to e976a13 Compare October 10, 2025 17:06
@artonge artonge merged commit e486686 into master Oct 11, 2025
195 of 197 checks passed
@artonge artonge deleted the artonge/fix/do_not_expose_system_address_book_in_contacts branch October 11, 2025 11:11
@artonge
Copy link
Contributor Author

artonge commented Oct 11, 2025

/backport d14c96b to stable32

@artonge
Copy link
Contributor Author

artonge commented Oct 11, 2025

/backport d14c96b to stable31

@artonge
Copy link
Contributor Author

artonge commented Oct 11, 2025

/backport d14c96b to stable30

@artonge
Copy link
Contributor Author

artonge commented Oct 11, 2025

/backport d14c96b to stable29

@artonge
Copy link
Contributor Author

artonge commented Oct 11, 2025

/backport d14c96b to stable28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug feature: contacts php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants