Skip to content

PostgreSQL error caused by comma #1587

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

Open
yihanwu1024 opened this issue Apr 20, 2025 · 0 comments
Open

PostgreSQL error caused by comma #1587

yihanwu1024 opened this issue Apr 20, 2025 · 0 comments

Comments

@yihanwu1024
Copy link

Sabre/DAV 4.7.0
PostgreSQL 15

Whenever a calendar or contact field contains a comma , it will fail to save.

FYI, a comma is escaped as \,. The backslash escaped as \\ does not cause any problem.

<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
  <s:sabredav-version>4.7.0</s:sabredav-version>
  <s:exception>PDOException</s:exception>
  <s:message>SQLSTATE[22P02]: Invalid text representation: 7 ERROR:  invalid input syntax for type bytea
CONTEXT:  unnamed portal parameter $3 = '...'</s:message>
</d:error>
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

No branches or pull requests

1 participant