subUrl not work at some links and buttons

Hi, there.
i build v5.0.0-pre1 from gitbub;
and set the root_url to xxx/test;

The full public facing url

root_url = %(protocol)s://%(domain)s:%(http_port)s/test

and proxy by nginx with these configuration:

    location /test/ {
            rewrite  ^/test/(.*)  /$1 break;
            proxy_max_temp_file_size 0;#IMPORTANT!
            proxy_next_upstream off;
            proxy_set_header  X-Real-IP  $remote_addr;
            proxy_set_header Host  $host;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header  Remote_Addr $remote_addr;
            proxy_pass http://upstream;

but there are some bugs for some links and buttons working with subUrl like this:

pls help me to fix it, thanks a lot !

We know of this bug and will fix it asap,

Thanks for your reply and i have submitted a pull request on github to fix it

Thank you for your contributions. They are now merged to master