We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We have a file name: vm068 - 11 - z + 3.mp3 encoding it we have: vm068%20-%2011%20-%20z%20%2B%203.mp3
But mod_zip does not work with that.
The text was updated successfully, but these errors were encountered:
its work for me, //ngx_http_zip_parsers.c size_t destructive_url_decode_len(unsigned char* start, unsigned char* end) { unsigned char *read_pos = start, *write_pos = start;
for (; read_pos < end; read_pos++) { unsigned char ch = *read_pos; if (ch == '+') // replace before decoding ch = ' '; if (ch == '%' && (read_pos+2 < end)) { ch = 16 * hex_char_value(*(read_pos+1)) + hex_char_value(*(read_pos+2)); read_pos += 2; }
// if (ch == '+') //original - replace after encoding // ch = ' '; *(write_pos++) = ch; }
return write_pos - start;
}
Sorry, something went wrong.
Merge pull request #20 from ncoders/master
35ea7ff
Fixed an issue with "+" in the filename, issue #13
No branches or pull requests
We have a file name: vm068 - 11 - z + 3.mp3
encoding it we have:
vm068%20-%2011%20-%20z%20%2B%203.mp3
But mod_zip does not work with that.
The text was updated successfully, but these errors were encountered: