Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion server/src/handlers/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ use crate::utils::{self, merge};

const PREFIX_TAGS: &str = "x-p-tags-";
const PREFIX_META: &str = "x-p-meta-";
const SEPARATOR: char = ',';
const SEPARATOR: char = '^';

pub async fn query(_req: HttpRequest, json: web::Json<Value>) -> HttpResponse {
let json = json.into_inner();
Expand Down
2 changes: 1 addition & 1 deletion server/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub mod header_parsing {
return Err(ParseHeaderError::MaxHeadersLimitExceeded);
}

Ok(labels.join(","))
Ok(labels.join(&kv_separator.to_string()))
}

#[derive(Debug, thiserror::Error)]
Expand Down