Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There are two db_query function calls in videojs where the query string is delimited by ' characters, and the strings inside the query are delimited by " characters. This causes problems with PostgreSQL, where delimiting a string with " characters causes it to be interpreted as a column name. Better practice is to delimit SQL query strings with ", and delimit strings inside the query with '. Patch to follow.
Comment | File | Size | Author |
---|---|---|---|
#1 | videojs-Fix_SQL_quoting_for_PostgreSQL-1712398-1.patch | 1.4 KB | Ben Coleman |
Comments
Comment #1
Ben Coleman CreditAttribution: Ben Coleman commentedThe attached patch fixes the above problem.
Comment #2
Jorrit CreditAttribution: Jorrit commentedThanks for the patch, I'll commit it asap.
Comment #3
Jorrit CreditAttribution: Jorrit commentedThanks for your patch, it has been committed.