mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 19:23:02 +01:00
-m Fix bug: 623992 - double forward slash in connection string. With thanks to Mark O'Donohue.
This commit is contained in:
parent
35c8051223
commit
b5bb9d5560
@ -1216,6 +1216,12 @@ static int expand_filename2(TEXT * from_buff, USHORT length, TEXT * to_buff)
|
|||||||
while (*from) {
|
while (*from) {
|
||||||
segment = to;
|
segment = to;
|
||||||
|
|
||||||
|
/* skip dual // (will collapse /// to / as well) */
|
||||||
|
if (*from == '/' && from[1] == '/') {
|
||||||
|
++from;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
/* Copy the leading slash, if any */
|
/* Copy the leading slash, if any */
|
||||||
|
|
||||||
if (*from == '/') {
|
if (*from == '/') {
|
||||||
|
Loading…
Reference in New Issue
Block a user