# DeprecationWarning: 'werkzeug.urls.url_quote' is deprecated and will be removed in Werkzeug 3.0. Use urllib.parse.quote instead.

- **ID:** `python/flask-werkzeug-proxy-fix-deprecated`
- **Domain:** python
- **Category:** module_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

Application code imports deprecated werkzeug.urls helpers removed in Werkzeug 3.x.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.x | active | — | — |

## Workarounds

1. **** (95% success)
   ```
   from urllib.parse import quote, unquote
quote('a b')
   ```
2. **** (80% success)
   ```
   from werkzeug.urls import url_parse  # still available where applicable
   ```

## Dead Ends

- **** — Hides the issue until the import raises ImportError. (85% fail)
- **** — Blocks other security fixes and modern Flask compat. (80% fail)
