Skip to content

fix: handle query parameter exclusions that glob patterns cannot match #406

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

killerdevildog
Copy link

  • Adds transformRequestFunction to enhance exclude pattern matching
  • Detects patterns like 'hl=' and parses URLs to check query parameters
  • Fixes issue exclude Pattern in config.ts Not Working as Expected #179 where URLs with query params like ?hl=de were not excluded
  • Maintains backward compatibility with existing exclude patterns
  • Uses URL parsing for reliable query parameter detection

Resolves #179

- Adds transformRequestFunction to enhance exclude pattern matching
- Detects patterns like '**hl=**' and parses URLs to check query parameters
- Fixes issue BuilderIO#179 where URLs with query params like ?hl=de were not excluded
- Maintains backward compatibility with existing exclude patterns
- Uses URL parsing for reliable query parameter detection

Resolves BuilderIO#179
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

exclude Pattern in config.ts Not Working as Expected
1 participant