We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_sanitize_input
1 parent bc8ac44 commit 594f03dCopy full SHA for 594f03d
src/mcp_atlassian/utils/oauth_setup.py
@@ -39,13 +39,11 @@ def _sanitize_input(user_input: str) -> str:
39
"""
40
if not user_input:
41
return user_input
42
-
43
# Remove leading/trailing whitespace and various line endings
44
# Handle Windows (\r\n), Unix (\n), and Mac (\r) line endings
45
sanitized = user_input.strip().rstrip('\r\n').strip()
46
return sanitized
47
48
49
class CallbackHandler(http.server.BaseHTTPRequestHandler):
50
"""HTTP request handler for OAuth callback."""
51
0 commit comments