pass special symbols through URL

I need to pass path to file through URL

e.g.
path_to_file/file.mov

so URL will be something like this
http://localhost:3000/file_manager/del_media_file/path_to_fileEfile.mov

i found function to CGI::escape and CGI::unescape to convert special
characters. But it ignores "." so i receiv "file" instead of "file.mov"
inside params hash

how can i fix it?

anonymous -- wrote:

I need to pass path to file through URL

e.g.
path_to_file/file.mov

so URL will be something like this
http://localhost:3000/file_manager/del_media_file/path_to_fileEfile.mov

i found function to CGI::escape and CGI::unescape to convert special
characters. But it ignores "." so i receiv "file" instead of "file.mov"
inside params hash

how can i fix it?

he.. i solve this problem using Base64