← All updates

Profiles are now served only as regular pages

Security
Date:
2026-12-03
Changes:
d3e2023 · 1 commit

Why it matters: Players can count on their profile showing only what the profile page needs, with no leftover data version that held more account details.

Your profile is now available only as the normal profile page. An old data version of the profile, left over from when the feature was first built, included more account details than the page itself shows. It only ever returned the signed-in player’s own account, and nothing on the website or in the apps used it. It has now been removed.

Viewing your profile, opening the edit page and saving changes work as before.

Under the hood: Requests for the profile in that data format are now turned away before anything is saved. New automated tests check that the profile pages never include internal account fields, and that the tests fail if the old data version comes back.

Commits (1)
  • d3e2023 Phase 6, item 8: profiles are HTML only (removes the profile scaffold leftovers)
Files Changed (9)
app/controllers/user_profiles_controller.rb    | 29 ++++------------
app/views/user_profiles/_form.html.erb         | 59 ------------------------------
app/views/user_profiles/_user_profile.html.erb | 22 ------------
.../user_profiles/_user_profile.json.jbuilder  |  2 --
app/views/user_profiles/index.html.erb         | 21 -----------
app/views/user_profiles/index.json.jbuilder    |  1 -
app/views/user_profiles/new.html.erb           |  7 ----
app/views/user_profiles/show.json.jbuilder     |  1 -
test/controllers/user_profile_no_json_test.rb  | 45 +++++++++++++++++++++++
9 files changed, 51 insertions(+), 136 deletions(-)

← All updates