Skip to content

Added a launch option to bypass SSL verification on downloads - #9017

Merged
Wires77 merged 4 commits into
PathOfBuildingCommunity:devfrom
EthanBlazkowicz:SSL
Oct 30, 2025
Merged

Wires77 merged 4 commits into
PathOfBuildingCommunity:devfrom
EthanBlazkowicz:SSL

Conversation

@EthanBlazkowicz

Copy link
Copy Markdown
Contributor

Description of the problem being solved:

  1. Added a launch option

Steps taken to verify a working solution:

  • POB shortcut add --no-ssl
  • Now the app works without certain verification

@Nightblade

Copy link
Copy Markdown
Contributor

Hi, please ensure all lines are TAB indented. 😀

@EthanBlazkowicz

Copy link
Copy Markdown
Contributor Author

Indentation fixed.

Comment thread src/Launch.lua Outdated
return responseHeader, responseBody, errMsg
]]
local id = LaunchSubScript(script, "", "ConPrintf", url, params.header, params.body, self.connectionProtocol, self.proxyURL)
local id = LaunchSubScript(script, "", "ConPrintf", url, params.header, params.body, self.connectionProtocol, self.proxyURL, self.noSSL or false)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is doing what you intend. Passing this as another parameter passes it to the script variable, which is only looking for these parameters (line 255): local url, requestHeader, requestBody, connectionProtocol, proxyURL = ...

You'd want this change in launch:CheckForUpdate as well. Presumably, if SSL doesn't work on the update, it's not going to work for any other page, so we should put the option everywhere.

@Wires77 Wires77 added the enhancement New feature, calculation, or mod label Oct 24, 2025
@Wires77 Wires77 changed the title Added a launch option Added a launch option to bypass SSL verification on downloads Oct 24, 2025
Changed the wrong line of code
@Wires77
Wires77 merged commit 459b85d into PathOfBuildingCommunity:dev Oct 30, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature, calculation, or mod

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants