Skip to content

Support SSL verification config and URL subpath handling#2

Open
cdelgehier wants to merge 4 commits intoednxzu:mainfrom
cdelgehier:feat/ssl_subpath
Open

Support SSL verification config and URL subpath handling#2
cdelgehier wants to merge 4 commits intoednxzu:mainfrom
cdelgehier:feat/ssl_subpath

Conversation

@cdelgehier
Copy link
Copy Markdown

  • Read http.sslVerify from git config to disable SSL verification when set to false
  • Handle instances hosted behind a URL subpath (e.g. /gitlab) by stripping it from API routes

Read http.sslVerify from git config and pass verify=False to requests when SSL verification is disabled.

Also suppress urllib3 InsecureRequestWarning in that case.
When the instance is hosted behind a subpath (e.g. /gitlab), strip that prefix from the project path before building API routes.
Add README sections for http.sslVerify support, custom base URLs with subpath handling, and corresponding troubleshooting entries.
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.

1 participant