-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Etherpad widget creation breaks if the pad name is too long #73
Comments
The pad name is based upon the room_id so e.g. |
I suggest hashing the room id to get strings of a consistent length. |
The limit is imposed over at https://github.com/ether/etherpad-lite/blob/develop/src/node/db/PadManager.js#L195-L198, should we want to fix it there. |
Still an issue with etherpad 1.8.6 |
As it’s probably impossible to somehow work around this, because there’s no way to access the code of the scalar integration manager, this should please urgently be fixed. It’s a somewhat critical (usability-wise) bug and it’s open for more than a year. On a side note, defining our own URL per widget manager would even be greater (like it is possible for BigBlueButton). |
To flesh this out a little, I created an Etherpad named "Minutes" which gave the below URL. "Widget saved" was shown in green. https://scalar.vector.im/etherpad/p/!qLhNfILESSCaasbRWB:freedombox.emorrp1.name_Minutes Until you actually go to view that widget in the sidebar, at which point "Sorry, this content is not embeddable in Matrix" is shown with no way to figure out why. Visiting the URL directly says "Such a padname is forbidden" again without saying it's the custom name that's too long. So apparently any rooms first created on my homeserver are forevermore limited to Etherpad names of 6 characters or fewer. |
What about limit the form input length? |
Given the ID includes the room ID, a pad name of 0 character could even be too long |
Please, I'd appreciate if this bug with Etherpad name length limit is fixed somehow. |
Pad names are now UUIDs instead of the room name. |
Reported at https://github.com/vector-im/riot-web/issues/6039#issuecomment-517270591 by @florianjacob
The text was updated successfully, but these errors were encountered: