mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Fix off-by-one error in url rewrite for SSL.
This commit is contained in:
parent
d7e13276e5
commit
784fc60ec1
@ -257,8 +257,8 @@ retry_vio_init:
|
||||
if (rc < 0) {
|
||||
len = strlen(module);
|
||||
|
||||
if (module[len] == 's') {
|
||||
module[len] = '\0';
|
||||
if (module[len-1] == 's') {
|
||||
module[len-1] = '\0';
|
||||
goto retry_vio_init;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user