id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
3240	RAR VFS incorrectly recognizes UnRAR version	darek		"Description of the problem:

    Some options in .rarrc configuration file can make RAR VFS to incorrectly recognize UnRAR as version 4.x instead of 5.x.    
Version of Midnight Commander:

    mc-4.8.12 and unrar-5.1.7

Steps to reproduce the problem:

    1. Create in the user's home directory .rarrc file with the following line inside:

       switches= -idc
    2. Start mc
    3. Press <Enter> on any rar archive
    4. Instead of RAR VFS containing archive contents, Midnight Commander displays set of error messages ""Cannot parse: ....""

Solution:

    Add -cfg- option to the command used to detect UnRAR version. This option prevents UnRAR from reading configuration from .rarrc file. Please find a patch to RAR VFS attached."	defect	closed	minor	4.8.13	mc-vfs	4.8.12	fixed	rar				no branch	committed-master
