Skip to content

Unable to visit private sites with mapped domains using Reader's visit post functionality #15389

@guarani

Description

@guarani

Expected behavior

In Reader, when viewing a private site that uses a mapped domain (e.g. example.com, not example.wordpress.com), tapping Visit to view the site's posts in a web view should load the site and log the user into the site automatically.

Actual behavior

In Reader, when viewing a private site that uses a mapped domain, tapping Visit to view the site's posts in a web view results in a page that doesn't load.

For private Simple WP.com sites with mapped domains, I get a "Protected Blog" screen.
For private Atomic WP.com sites with mapped domains, I get a "This site is private" screen.

Screen recording

RPReplay_Final1616694524.MP4

Steps to reproduce the behavior

  1. Open Reader
  2. Filter the site list to show posts from one of the two site types affected by this bug
  3. Under the Following tab:
  • Tap the ellipsis menu (°°°) on a post → Visit
  • Tap the site title on the cell → on the new screen tap the ellipsis menu (°°°) on a post → Visit
  • Tap the post title on the cell → on the new screen tap the ellipsis menu (°°°) → Visit
  1. Notice the "Protected Blog" or "This site is private" error screens

Additional information

Tested on iPhone 11, iOS 14, WPiOS 8e71775 (which will land in WPiOS 16.3)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions