Skip to content

Commit

Permalink
added hiphen in subdocpath (#216)
Browse files Browse the repository at this point in the history
* added hiphen in subdocpath

* changes
  • Loading branch information
shubham-gupta23 authored Nov 15, 2024
1 parent 0723c9d commit 23a9656
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class SubDocument {

private static final Set<String> IMPLICIT_PATHS = Set.of(CREATED_TIME, LAST_UPDATED_TIME);
private static final Pattern ALLOWED_CHARACTERS =
Pattern.compile("^[a-zA-Z0-9_]+(.[a-zA-Z0-9_]+)*$");
Pattern.compile("^[a-zA-Z0-9_-]+(.[a-zA-Z0-9_-]+)*$");

String path;

Expand Down

0 comments on commit 23a9656

Please sign in to comment.