Fixes #20902: Avoid conflict when Git URL contains embedded username #501

Closed
opened 2026-04-05 16:37:48 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @jnovinger on 1/21/2026

Fixes: #20902

When cloning Git data sources with URLs containing embedded usernames (e.g., https://user@bitbucket.org/...), NetBox was also passing explicit username/password kwargs to dulwich, causing authentication failures.

Now checks for URL-embedded credentials before passing explicit kwargs.

*Originally created by @jnovinger on 1/21/2026* ### Fixes: #20902 When cloning Git data sources with URLs containing embedded usernames (e.g., `https://user@bitbucket.org/...`), NetBox was also passing explicit username/password kwargs to `dulwich`, causing authentication failures. Now checks for URL-embedded credentials before passing explicit kwargs.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#501