-
Notifications
You must be signed in to change notification settings - Fork 8
Labels
completedThis item is complete and has been releasedThis item is complete and has been released
Description
Bug Description
Need to sanitise the inputs from MCP client prior to validation. Need to trim whitespace from start/end of inputs and force lowercase.
Steps To Reproduce
When using MCP inspector can add \n
to inputs which causes the search to fail with "Invalid runtime"
Same for mixed case spelling other than all lowercase.
Expected Behavior
When sending mixed case or whitespace padded data - the case and whitespace should be ignored and search to work correctly.
Actual Behavior
When sending runtime as "python\n" get error "invalid runtime"
Same for: "Python", "PYTHON"
Metadata
Metadata
Assignees
Labels
completedThis item is complete and has been releasedThis item is complete and has been released