Replying to my self :) It seems to be this function: replaceBraces(e) { ==> return e.replace(/(?<=\d)\s*-\s*(?=\d)/g, ".."). replace(/\(/g, "{"). replace(/\)/g, "}"). replace(/\[/g, "{"). replace(/]/g, "}") } The first regular expression is what breaks it for Safari. I must admit that I’m not sure what it does. I removed it replaceBraces(e) { return e.replace(/\(/g, "{"). replace(/\)/g, "}"). replace(/\[/g, "{"). replace(/]/g, "}") }
and now the dashboard shows again in Safari. > On 08. 03 2022, at 10:37, Ulrich Klein <ulrich.kl...@ulrichklein.net> wrote: > > Hi, > > I just upgraded a small test cluster on Raspberries from pacific 16.2.6 to > 16.2.7. > The upgrade went without major problems. > > But now the Ceph Dashboard doesn't work anymore in Safari. > It complains about main.<hexnum>.js "Line 3 invalid regular expression: > invalid group specifier name". > It works with Firefox and Edge on the Mac. But on an iPad I don't have that > choice. > > Has anyone seen that problem, and maybe have a solution? > Is that also a problem on “real” clusters” on x86_64? > > The javascript code is just one long line, i.e. unreadable. > > Ciao, Uli > _______________________________________________ > ceph-users mailing list -- ceph-users@ceph.io > To unsubscribe send an email to ceph-users-le...@ceph.io _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-le...@ceph.io