Skip to content

Enforce NETWORK_ACCESS_ALLOWED and NETWORK_TIMEOUT on URL.unshorten#800

Open
tesitura wants to merge 1 commit into
mainfrom
fix/enforce-network-access-allowed
Open

Enforce NETWORK_ACCESS_ALLOWED and NETWORK_TIMEOUT on URL.unshorten#800
tesitura wants to merge 1 commit into
mainfrom
fix/enforce-network-access-allowed

Conversation

@tesitura
Copy link
Copy Markdown
Contributor

Closes #799
Short circuit unshorten() when env variable NETWORK_ACCESS_ALLOWED is False, and apply NETWORK_TIMEOUT to the HEAD request.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 15, 2026

Coverage

Tests Skipped Failures Errors Time
124 1 💤 0 ❌ 0 🔥 9.713s ⏱️

@github-actions
Copy link
Copy Markdown
Contributor

Coverage

Tests Skipped Failures Errors Time
124 1 💤 0 ❌ 0 🔥 7.283s ⏱️

@tesitura tesitura force-pushed the fix/enforce-network-access-allowed branch from dc7e854 to c834c18 Compare May 15, 2026 17:42
@penserbjorne
Copy link
Copy Markdown

Great catch @tesitura !

I'm not sure if these options are well documented in the mvt.re website and in the help flag on mvt.

I can take a look in the code to check but just arising this conversation.

CC: @besendorf

Best,
P

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.

URL.unshorten ignores NETWORK_ACCESS_ALLOWED and NETWORK_TIMEOUT env variables

2 participants