Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

serd_hash-escape.patch 451B

12345678910111213
  1. diff --git a/src/node.c b/src/node.c
  2. index c25e06a..aa14416 100644
  3. --- a/src/node.c
  4. +++ b/src/node.c
  5. @@ -173,6 +173,8 @@ serd_node_new_file_uri(const uint8_t* path,
  6. serd_chunk_sink("/", 1, &chunk);
  7. } else if (path[i] == '%') {
  8. serd_chunk_sink("%%", 2, &chunk);
  9. + } else if (path[i] == '#') {
  10. + serd_chunk_sink("%23", 3, &chunk);
  11. } else if (!escape || is_uri_path_char(path[i])) {
  12. serd_chunk_sink(path + i, 1, &chunk);
  13. } else {