Repository navigation
Conversation
[Low impact] The PR appears safe to merge; the previous finding is fixed and no new actionable issues remain. Summary
Reviews (6) · Last reviewed commit: "Extend the existing webapp tests for Zoo..." · Reviewed by Greptile |
|
Reviewed and verified on a disposable Omarchy worker. The meeting-number fix is real and holds. I pushed one commit to your branch, 30caff1, which takes the passcode check back out and pins the digit check to ASCII. Reproduced. On What 30caff1 changes, and why:
Second opinion: Codex Medium and muse-wonder (thinking high), through omabot's reviewer. Codex found the locale problem. Both found the passcode regression and the false premise of the Left for you, @Ch1Hub:
After that it goes back to the maintainer for a merge decision. |
|
Re-verified after your merge of On a disposable Omarchy worker, against Second opinion: Codex Medium and muse-wonder (thinking high), through omabot's reviewer, re-reviewed this head and found no defect in the code. Both also noted the stale description below. They agreed with my own reading, so independence is not guaranteed. Still left for you, @Ch1Hub: the PR description still says passcodes are matched against |
|
Both taken. Thanks for the reproduction and for the locale catch — that one I would not have found. Description now matches the diff: Test trimmed in 908e08e, eight assertions down to five: the three meeting-number values that reach the wrong page on I kept the passcode assertion although it also passes on Nothing in the handler changed, so the code you verified at 30caff1 is still there; only the test file and the description moved. |
|
Re-verified at 908e08e. The description now matches the code, and the trimmed test still guards the fix. On a disposable Omarchy worker, against Second opinion: Codex at medium effort reviewed 908e08e and found no defect. It confirmed that the commit touches only the test file, and that the three meeting-number assertions fail against the On the passcode assertion: it passes on One small thing left for you: the title still says Validate the Zoom meeting number and password, but the passcode is now passed through unchanged. Something like Validate the Zoom meeting number before opening a join link would match what the change does. Beyond that, this is waiting on the maintainer. |
|
Title updated to "Validate the Zoom meeting number before opening a join link" — you're right that the old one still advertised password validation. That was the last item from my side. On four versus five assertions I've left it at five with the reasoning above; if the maintainer would rather have four, it's dropping the passcode case and nothing else. Thanks for the reproductions, the UTF-8 catch and the passcode call. The allowlist regression is the one I'd have shipped unnoticed, and it needed a re-review to find. |
|
The reported path/query injection is now fixed on At unchanged head This PR still adds the narrower rule of 1–20 ASCII digits. Current GPT-6 in Codex (effort setting not exposed) checked the code and worker results. Opus 5.5 High and muse-wonder via pi, thinking high reviewed the same material and found no additional defect requiring a branch fix. They agreed with the findings above; independence is not guaranteed. Their observation about the exact passcode expectation was checked on the worker as described above. |
The hardened handler accepts [A-Za-z0-9_-] in confno, which matches fullwidth and Arabic-Indic digits under a UTF-8 locale. Accept only 1-20 ASCII digits, spelled out so the match does not depend on the locale, and add regression tests for the fallback and passcode paths.
908e08e to
99c3012
Compare
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Reuse the existing protocol-handler launcher stub instead of maintaining a second Zoom test suite. Keep all eight cases and run the invalid meeting-number checks in both C and en_US.UTF-8 when available, so the locale-sensitive digit regression is exercised even when the runner uses C. The base handler already blocks path and query separators; describe the remaining ASCII restriction without claiming otherwise. Co-Authored-By: GPT-6 (effort not exposed) <noreply@openai.com> Co-Authored-By: Greptile (model and effort not exposed) <greptile-apps[bot]@users.noreply.github.com>
|
Re-verified the updated branch against I pushed GPT-6 in Codex (effort setting not exposed) checked the source and worker results. Opus 5.5 High and muse-wonder via pi, thinking high reviewed this exact commit and found no further defect requiring a fix. They agreed with these findings; independence is not guaranteed. Greptile reviewed this commit at 5/5 with no new findings. GitHub’s |
|
Friendly ping — the branch is still mergeable against current |
What changes
#19965 hardened
omarchy-webapp-handler-zoom: it now strips fragments, rejects control characters, matches the scheme case-insensitively, and URI-encodes the passcode while preserving existing percent escapes. Its meeting-number check is^[A-Za-z0-9_-]+$, which still depends on the locale: underen_US.UTF-8,[A-Za-z0-9]also matches fullwidth and Arabic-Indic digits, so values likeconfno=12345678reach the join path.This PR narrows that check to a meeting number Zoom could have issued:
confno^[0123456789]{1,20}$— ASCII digits, spelled out because[0-9]also matches fullwidth and Arabic-Indic digits under a UTF-8 localehttps://app.zoom.us/wc/homepwd%XXescapes preservedpwdneeds no allowlist. The handler encodes anything outside the URI unreserved set, so a passcode cannot add a query parameter; a raw&still ends the extracted value, and%26stays data. An allowlist would be harmful: Zoom allows*, and passcodes containing?or#arrive percent-encoded, so a narrow rule drops passcodes that used to work.The new cases extend the existing protocol-handler section in
test/shell.d/webapp-name-test.shrather than adding a second Zoom test suite.Fixes #18385.
Files:
bin/omarchy-webapp-handler-zoom,test/shell.d/webapp-name-test.sh.Verification
bash test/shell.d/webapp-name-test.sh— passes under the default locale anden_US.UTF-8.quattrohandler substituted, the test fails at the fullwidth-digit case underen_US.UTF-8, so it guards this change rather than restating the base handler.bash test/cli— passes.git diff --check— clean.Screenshots
No visible change: CLI protocol handler only, nothing in the shell UI.