-
Notifications
You must be signed in to change notification settings - Fork 16
Rebase from SecKatie/FalkorDB-MCPServer #14
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
Changes from 3 commits
2db6776
7633849
96d702c
32ab939
02bce89
4f32b8c
80267dc
60778b4
9a3b4c2
98d560f
5206d09
ea60278
1f99d35
feb4908
5a7ee62
6afbf5d
387a664
8616f19
b803fcf
5d7f215
acfbfb6
4e02729
22f6095
42473fc
8b5185a
a2e403a
f7f154d
f924c66
7d837bf
bf0bbe3
7b95314
a1f4111
5d4d539
80e1204
f50c816
09f4691
beef955
1c674df
d238e32
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -251,26 +251,26 @@ describe('Connection Parser Utility', () => { | |
| it('should handle edge case with multiple @ symbols', () => { | ||
| // Act | ||
| const result = parseFalkorDBConnectionString('falkordb://user@domain:pass@host:1234'); | ||
| // Assert - implementation takes first @ as auth separator, but subsequent @ affects parsing | ||
|
|
||
| // Assert - after fixing parser to use lastIndexOf('@') | ||
| expect(result).toEqual({ | ||
| host: 'domain', | ||
| port: 6379, | ||
| username: undefined, | ||
| password: 'user' | ||
| host: 'host', | ||
| port: 1234, | ||
| username: 'user@domain', | ||
| password: 'pass' | ||
| }); | ||
| }); | ||
|
coderabbitai[bot] marked this conversation as resolved.
|
||
|
|
||
| it('should handle edge case with multiple : in auth', () => { | ||
| // Act | ||
| const result = parseFalkorDBConnectionString('falkordb://user:pass:extra@host:1234'); | ||
| // Assert - implementation takes first : as separator between user and pass | ||
|
|
||
| // Assert - after fixing parser to properly rejoin password with multiple ':' | ||
| expect(result).toEqual({ | ||
| host: 'host', | ||
| port: 1234, | ||
| username: 'user', | ||
| password: 'pass' | ||
| password: 'pass:extra' | ||
| }); | ||
| }); | ||
|
Comment on lines
+264
to
+275
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Test documents password truncation when it contains
🤖 Prompt for AI Agents |
||
| }); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.