Malformed Group Admin Page Javascript

CreateRoleSetPanel = {};
CreateRoleSetPanel.open = function () {
    
    Roblox.GenericModal.open("Insufficient funds!", null, "You do not have enough ROBUX to create a new RoleSet. Purchase more <a href='"+https://www.roblox.com/upgrades/robux?ctx=group-roleset+"'>here</a>.", null, false, { acceptColor: Roblox.GenericModal.green });
    
    return false;
};

The issue happens when I do not have enough funds to purchase a new roleset, regardless of if I own the group or not. The malformed javascript occurs because the ‘//’ in the URL is being interpreted as a comment I don’t know why the string was escaped and a url is being directly appended, just change it to

CreateRoleSetPanel = {};
CreateRoleSetPanel.open = function () {
    
    Roblox.GenericModal.open("Insufficient funds!", null, "You do not have enough ROBUX to create a new RoleSet. Purchase more <a href='https://www.roblox.com/upgrades/robux?ctx=group-roleset+'>here</a>.", null, false, { acceptColor: Roblox.GenericModal.green });
    
    return false;
};

In particular, the account I used to replicate this (if needed for whatever reason) is cutiegirl572 for this group. Go to the group admin page to experience the error in the console logs.

I’m unsure if this is the case if I own the group (unable to test) but if so, the person would never be notified due to the error.

1 Like

This has been patched.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.