Skip to content

fixing the global flags issue in joomla_template_scan and drupal_theme_scan #1091

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

Merged
merged 2 commits into from
Jun 25, 2025

Conversation

pUrGe12
Copy link
Contributor

@pUrGe12 pUrGe12 commented Jun 25, 2025

Proposed change

Python doesn't support inline regex flags like (?i) to be anywhere but the start of the regex. This PR is to fix that.

Additionally, this adds a test file to scans all regexes of yaml files inside scan and vuln based on what their library is (this condition was just to separate out port.yaml which has a slightly different yaml structure and goes inside socket.py)

Type of change

  • New core framework functionality
  • Bugfix (non-breaking change which fixes an issue)
  • Code refactoring without any functionality changes
  • New or existing module/payload change
  • Documentation/localization improvement
  • Test coverage improvement
  • Dependency upgrade
  • Other improvement (best practice, cleanup, optimization, etc)

Checklist

  • I've followed the contributing guidelines
  • I've run make pre-commit, it didn't generate any changes
  • I've run make test, all tests passed locally

@securestep9 securestep9 added this pull request to the merge queue Jun 25, 2025
Merged via the queue into OWASP:master with commit cd34fba Jun 25, 2025
17 checks passed
@pUrGe12 pUrGe12 deleted the fix-joomla branch July 12, 2025 12:15
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.

2 participants