Roxen.git / server / etc / test / modules / TEST.pmod / http.pmod / WebDAV.pmod / TestBase.pike

version» Context lines:

Roxen.git/server/etc/test/modules/TEST.pmod/http.pmod/WebDAV.pmod/TestBase.pike:328:    return res;   }      protected WebDAVResponse webdav_move(string src_path,    string dst_path,    mapping(string:string) locks,    int expected_status_code)   {    bool src_equals_dst = false;    if (case_sensitive()) { -  src_equals_dst = Unicode.normalize(src_path, "NFC") == -  Unicode.normalize(dst_path, "NFC"); +  src_equals_dst = Unicode.normalize(utf8_to_string(src_path), "NFC") == +  Unicode.normalize(utf8_to_string(dst_path), "NFC");    } else { -  src_equals_dst = lower_case(Unicode.normalize(src_path, "NFC")) == -  lower_case(Unicode.normalize(dst_path, "NFC")); +  src_equals_dst = lower_case(Unicode.normalize(utf8_to_string(src_path), "NFC")) == +  lower_case(Unicode.normalize(utf8_to_string(dst_path), "NFC"));    }    string expected_content;    bool is_regular_file = filesystem_is_file(src_path);    if (is_regular_file) {    expected_content = filesystem_read_file(src_path);    }    WebDAVResponse res =    webdav_request("MOVE", src_path, ([    "new-uri": dst_path,    ]));