You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Small bounty proposal] Reject residual malformed URLs in omi config set ($10 proposed) #18904
@kodjima33 — would you consider a US$10 bounty after acceptance and merge for this small follow-up to #18604, using the documented PayPal payment route? No award or assignment is assumed.
The current sdks/python-cli/omi_cli/commands/config.py (Git blob 0b1a98ad99e40288baac8aded3a8f721b2169d2a, checked on 25 September) validates the scheme and a nonempty netloc, but:
http://[ raises ValueError at the validation point rather than UsageError.
http://example.test:abc and https://example.test:65536 pass because port validation is lazy.
http://:47778 has an authority but no hostname and is accepted for saving.
I prepared a compact patch that catches parsing errors, evaluates the port and requires a hostname before changing the endpoint or calling persistence. Valid HTTP/HTTPS endpoints, IPv6 and existing normalization are preserved. Related #18703 changes local configure and LocalOmiClient, not this setter.
Measured verification: the same isolated suite runs the real command, error hierarchy and Typer dispatcher. Original: 24 pass / 22 fail; patch: 46 pass / 0 fail / 0 skip, using locally available Typer 0.24.1 and Click 8.3.2. Config I/O and output are mocked. Rich 15 and pytest 9 remain outside the project's pins; full CLI integration, native persistence tests and repository preflight are not yet verified. This is a scoped funding inquiry, not a claim of merge readiness.
Disclosure: AXIOM, an AI-agent workflow operated for the account holder, performed the technical work. No human technical review by the holder is claimed. We would handle implementation and testing, not ask maintainers to finish our patch.
Is this follow-up worth funding, and is an equivalent fix already in flight? Payment details would remain private and be agreed separately; no payment is claimed as owed.
Hi @kodjima33, I’m interested in taking this issue.
Before I start implementing a competing fix, could you confirm whether the proposed $10 bounty is approved and whether the issue is open for another contributor to implement?
If confirmed, I can submit the fix with tests covering the malformed URL cases described here.
Picking this up. I will address the three residual gaps in omi config set URL validation: (1) http://[ raising a raw ValueError instead of a clean UsageError, (2) lazily-validated ports like http://example.test:abc / https://example.test:65536 slipping through, (3) http://:47778 (authority without hostname) being accepted and saved. PR incoming with boundary tests.
PR up: #19689 - covers all three cases (http://[, :abc/:65536 ports, http://:47778) with regression tests.
Hi team. A factual payment query about this proposal, not a comment on the code.
This proposal was filed by @Invitrius. The implementation is mine: PR #19689 was merged on 19 October: #19689 .
I understand this proposal was closed as not planned on 22 October, together with the note that bounties are currently paused. I am recording it here for completeness because the work described was merged. My total outstanding claim across #19519, #20401 and #18904 is US$60.
If this item is outside your payment policy, whether because the proposal was never approved or because the pause applies, please say so and I will drop it and close the matter on my side. The two items I would most like an answer on are #19519 and #20401, where the proposals were closed as completed after the corresponding PRs were merged.
Thanks for the work you all put into this project.
Hi
Thanks again for reviewing and merging my PR.
Just a quick note regarding the payment/sponsorship: The previous PayPal account I provided was a Mainland China region account, which unfortunately has strict cross-border restrictions and cannot receive international personal transactions.
To make it easier for you, I have set up a new payment link via Ko-fi. You can now complete the payment using your Credit Card or an international PayPal account at:
👉 https://ko-fi.com/fengyuan_cn
Please kindly process the transfer from this new link. Let me know if you encounter any issues during the checkout.
Thanks for your support and time!
Best regards
FengYuan
If you prefer other payment methods, please let me know and we can figure it out.God bless you for your help.
Activity
CharlesOmeneki commentedon Sep 25, 2026
Hi @kodjima33, I’m interested in taking this issue.
Before I start implementing a competing fix, could you confirm whether the proposed $10 bounty is approved and whether the issue is open for another contributor to implement?
If confirmed, I can submit the fix with tests covering the malformed URL cases described here.
fix(cli): reject residual malformed URLs in omi config set (BasedHard…
fix(cli): reject residual malformed URLs in omi config set (BasedHard…
fix(cli): reject residual malformed URLs in omi config set (BasedHard…
fix(cli): reject residual malformed URLs in omi config set (BasedHard…
fix(cli): reject residual malformed URLs in omi config set (BasedHard…
test(cli): add regression tests for malformed URL rejection (BasedHar…
1132dadf commentedon Sep 29, 2026
Picking this up. I will address the three residual gaps in
omi config setURL validation: (1)http://[raising a rawValueErrorinstead of a cleanUsageError, (2) lazily-validated ports likehttp://example.test:abc/https://example.test:65536slipping through, (3)http://:47778(authority without hostname) being accepted and saved. PR incoming with boundary tests.1132dadf commentedon Sep 29, 2026
PR up: #19689 - covers all three cases (http://[, :abc/:65536 ports, http://:47778) with regression tests.
fix(cli): reject malformed URLs in config set (#19689)
1132dadf commentedon Oct 21, 2026
Merged as #19689 — claiming the US$10 bounty for this item (reject malformed URLs in
omi config set). Thank you!undivisible commentedon Oct 22, 2026
We aren't doing bounties at the moment, so we're closing the bounty proposal issues for now. The fix already landed in #19689 — thanks for the fix! 🙏
1132dadf commentedon Oct 22, 2026
Hi team. A factual payment query about this proposal, not a comment on the code.
This proposal was filed by @Invitrius. The implementation is mine: PR #19689 was merged on 19 October: #19689 .
I understand this proposal was closed as not planned on 22 October, together with the note that bounties are currently paused. I am recording it here for completeness because the work described was merged. My total outstanding claim across #19519, #20401 and #18904 is US$60.
If this item is outside your payment policy, whether because the proposal was never approved or because the pause applies, please say so and I will drop it and close the matter on my side. The two items I would most like an answer on are #19519 and #20401, where the proposals were closed as completed after the corresponding PRs were merged.
Thanks for the work you all put into this project.
1132dadf commentedon Oct 23, 2026
Hi
Thanks again for reviewing and merging my PR.
Just a quick note regarding the payment/sponsorship: The previous PayPal account I provided was a Mainland China region account, which unfortunately has strict cross-border restrictions and cannot receive international personal transactions.
To make it easier for you, I have set up a new payment link via Ko-fi. You can now complete the payment using your Credit Card or an international PayPal account at:
👉 https://ko-fi.com/fengyuan_cn
Please kindly process the transfer from this new link. Let me know if you encounter any issues during the checkout.
Thanks for your support and time!
Best regards
FengYuan
If you prefer other payment methods, please let me know and we can figure it out.God bless you for your help.