owasp-modsecurity / owasp-modsecurity/ModSecurity

Handle strange Windows usernames

Open
#2,798 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

2.x Platform - IIS
Dominant language
C++
Stars
9.8k
Forks
1.8k
Avg merge
2h 46m
Merged PRs (30d)
1

Description

To cope with strange characters in Windows usernames,
in /iis/wix/list_dependencies.bat
line 25 should be quoted:
SET log_file="%TEMP%"\ModSecurityIIS-depedencies-%log_file:~-5%.TXT

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect /iis/wix/list_dependencies.bat around line 25 and reproduce dependency-list generation with a Windows username containing unusual characters. Adjust the log_file assignment as described, then verify that the generated temporary log path and filename are correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
operating-systems
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.