Re: Ceph Pacific 16.2.7 dashboard doesn't work with Safari

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.klein@xxxxxxxxxxxxxxx> 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@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx

_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux