Skip to content

Commit 594f03d

Browse files
committed
style(oauth_setup): clean up whitespace and formatting in _sanitize_input
1 parent bc8ac44 commit 594f03d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/mcp_atlassian/utils/oauth_setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,11 @@ def _sanitize_input(user_input: str) -> str:
3939
"""
4040
if not user_input:
4141
return user_input
42-
4342
# Remove leading/trailing whitespace and various line endings
4443
# Handle Windows (\r\n), Unix (\n), and Mac (\r) line endings
4544
sanitized = user_input.strip().rstrip('\r\n').strip()
4645
return sanitized
4746

48-
4947
class CallbackHandler(http.server.BaseHTTPRequestHandler):
5048
"""HTTP request handler for OAuth callback."""
5149

0 commit comments

Comments
 (0)