Commit 58bd94c
Fix create_default_sanitizer to only collect #-prefixed secret values
Replaces extract_values() with _collect_hash_values() so that non-sensitive
metadata fields (oauthVersion, id, created, etc.) are skipped. Previously,
short values like "2.0" were added to sensitive_values, causing URL path
corruption in cassettes (e.g. api.xro/2.0 → api.xro/REDACTED).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent c0e08ea commit 58bd94c
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
789 | 789 | | |
790 | 790 | | |
791 | 791 | | |
792 | | - | |
793 | | - | |
794 | | - | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
795 | 798 | | |
796 | 799 | | |
797 | 800 | | |
798 | 801 | | |
799 | 802 | | |
800 | 803 | | |
801 | 804 | | |
802 | | - | |
| 805 | + | |
| 806 | + | |
803 | 807 | | |
804 | 808 | | |
805 | 809 | | |
| |||
0 commit comments