Opened 7 weeks ago
Closed 5 weeks ago
#65506 closed defect (bug) (fixed)
Multisite signup and activation flow generates incorrect HTTP URLs when SSL is enabled
| Reported by: | meet_hasmukh | Owned by: | westonruter |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.1 |
| Component: | Login and Registration | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | multisite |
Description (last modified by )
Steps to Reproduce
- Set up a WordPress Multisite network.
- Navigate to Network Admin → Settings → Network Settings (
wp-admin/network/settings.php). - Under Registration Settings, select Both sites and user accounts can be registered for Allow new registrations.
- Visit
wp-signup.php. - Complete the signup form and check "Gimme a site!" before submitting.
- Submit the form.
- After submission, observe that the confirmation page redirects back to
wp-signup.php. - Notice that the newly created site URL displayed on the confirmation page uses the http protocol instead of https, even though SSL is enabled for the network.
- Retrieve the activation email and open the activation URL, for example:
wp-activate.php?key=bf14799fcf14ecc1 - Complete the activation process.
- Open the same activation URL again after the account has already been activated.
- Observe the network link displayed on the page.
Expected Behavior
- All generated URLs should use the correct https protocol when SSL is enabled.
- The site URL shown on the signup confirmation page should use https.
- The network link shown when revisiting an already-used activation link should be valid and use https.
- URLs should not contain duplicated protocol prefixes.
Actual Behavior
- The site URL displayed on the signup confirmation page uses http instead of https.
- Revisiting an already-used activation link displays a network URL that uses http.
- The generated URL contains the protocol twice (for example,
http://http://example.com), resulting in a broken link.
Environment Details
- WordPress Version: 7.0
- Multisite: Enabled
- Registration Mode: "Both sites and user accounts can be registered"
- PHP Version: 8.3.23
- Web Server: Nginx
- SSL: Enabled
- Browser: Any
Notes
The issue appears to affect URL generation in the Multisite signup and activation flow when SSL is enabled. The generated links do not consistently honor the network's HTTPS configuration and may produce malformed URLs when an activation link is revisited after successful activation.
Attachments (2)
Change History (9)
@
7 weeks ago
The page displayed when revisiting the activation link, showing the malformed network URL with duplicated protocols (http://http://...).
This ticket was mentioned in PR #12257 on WordPress/wordpress-develop by @meet_hasmukh.
7 weeks ago
#1
- Keywords has-patch added
Trac ticket: https://core.trac.wordpress.org/ticket/65506
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
The signup confirmation page showing an http site URL instead of https.