v1.0.3 - Relaxed Symptom Validation
What's Changed
Relaxed Symptom Validation
Removed overly restrictive input validation that was causing errors when LLMs (especially Google Gemini) send symptom queries with non-ASCII characters.
Changes:
- Removed regex validation
/^[a-zA-Z0-9\s\-*"'.,;:()/&]+$/that was rejecting Unicode characters, accented letters, and special formatting - Removed wildcard-in-middle-of-word validation that was causing false positives
- The OOREP API now handles input sanitization server-side
Impact:
- LLM-generated queries with Unicode characters (e.g.,
héadàche,頭痛症) now work correctly - Special characters and formatting from various LLMs are accepted
- No more
ValidationErrorresponses for legitimate symptom queries
Other Changes
- Updated dependencies to latest versions
- Updated README security documentation to reflect new validation behavior
Full Changelog: v1.0.2...v1.0.3