Feature #7621
closedOpenVPN Client Export name whens is a windows installer have the same name its a bit confused
0%
Description
When you export a OpenVpn files it's not possible distinguished by the name file between win6, x86, x64, xp, etc.
For example, if you downloaded the 4(four) types you will have on /home/<user>/Downloads:
pfSense-udp-1194-prolinx-install (1).exe
pfSense-udp-1194-prolinx-install (2).exe
pfSense-udp-1194-prolinx-install (3).exe
pfSense-udp-1194-prolinx-install (4).exe
So, it's a bit confused to check which one is win6-x64 in this case. My suggestion is improve the name just for windows with pfSense-<protol>-<port>-<user>-<plataform-osversion>-install.exe.
So, will be liek that for Windows 10, 64 bits: pfSense-udp-1194-prolinx--x86-win6-install.exe
You can improve that, just changing the line 328 (master) on vpn_openvpn_export.php:
before:
$exp_name = urlencode($exp_name."-install.exe");
after:
$exp_name = urlencode($exp_name."-".substr($act, 5)."-install.exe");