Skip to content

Bug :: File Downloads + SSL Filters + Cross-Protocol IP Changes #702

Closed
@jaswrks

Description

@jaswrks

It recently came to my attention that it is somewhat common for a user's IP address to change depending on the current protocol they are communicating over; i.e., https vs. http.

In the case of s2Member's File Download Keys; a "key" is generally connected to a specific IP address. Thus, if you create a download link that is served from an SSL page, but the link is served over http, there is a chance of authentication failure—depending on a customer's ISP.

In the current release of s2Member, the protocol is automatically matched up. So not an issue there. However, if you apply s2member_force_ssl = yes as a Post/Page Custom Field, there is a problem that can arise as a result of s2Member filtering the HTML markup to force all resources over SSL, and all links over http by default.

Referencing this line of code. ~ Special consideration should be given to s2Member File Download URLs here. Note: this is an edge case, but an important issue that should be resolved.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions