Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make determining whether a URL is local or not pluggable #20

Open
sergei-maertens opened this issue Mar 11, 2021 · 0 comments
Open

Make determining whether a URL is local or not pluggable #20

sergei-maertens opened this issue Mar 11, 2021 · 0 comments

Comments

@sergei-maertens
Copy link
Member

From open-zaak/open-zaak#821 (review)

Maybe a setting FK_OR_URL_IS_LOCAL_FUNC where you can defined a callable, or so. I see similar functionality in BaseLoader.is_local_url and the comparison local = parsed.netloc == host in 2 places.

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

No branches or pull requests

1 participant