Files
2ticketss/01-gh-issue-generator/examples/issues/bugs/login-error.md
bennettldavid f74bab9ed4 # 2ticketss
2 complementary command-line tools for GitHub issue management
- **00-jira-to-gh-issues**: A Rust tool that converts Jira CSV exports to GitHub issue markdown files compatible with gh-issue-generator. It handles messy CSV data and preserves issue metadata
- **01-gh-issue-generator**: A Rust tool that creates GitHub issues from Markdown files with YAML front matter. It parses structured Markdown, supports batch processing, and integrates with GitHub CLI
2025-04-04 22:32:49 -06:00

1.7 KiB

title, status, labels, assignees, milestone, project, parent
title status labels assignees milestone project parent
Fix login error with special characters in password ready
bug
security
critical
backend-dev
v1.0.1 Bug Fixes 123

Login Error with Special Characters in Password

Bug Description

Users are unable to log in when their password contains certain special characters (specifically #, &, and %). The login form submits successfully but returns a 400 error.

Steps to Reproduce

  1. Create a user account with a password containing one of the special characters: #, &, or %
  2. Log out of the account
  3. Attempt to log in with the correct credentials
  4. Observe the error message and failed login

Expected Behavior

Login should succeed with the correct credentials regardless of special characters in the password.

Actual Behavior

When submitting the login form with credentials containing special characters, the request fails with a 400 Bad Request error. The following error appears in the console:

POST https://api.example.com/auth/login 400 (Bad Request)
Error: {"error":"Invalid request parameters"}

Environment

  • Browser: Chrome 98.0.4758.102, Firefox 97.0.1
  • OS: Windows 10, macOS Monterey 12.2.1
  • Backend Version: v1.2.3

Technical Analysis

Initial investigation suggests that the password is not being properly URL-encoded before being sent to the backend, causing the server to reject the request.

Possible Fix

Add proper URL encoding to the login form submission or update the backend to handle special characters in the request payload correctly.

Severity

Critical - Affects user authentication and prevents access to the application.