[Vtigercrm-commits] [vtiger development] #5982: Allow non http based file reference in Documents
vtiger development
vtiger-tickets at trac.vtiger.com
Thu May 28 14:18:41 EDT 2009
#5982: Allow non http based file reference in Documents
------------------------+---------------------------------------------------
Reporter: prasad | Owner: developer
Type: defect | Status: new
Priority: major | Milestone: 5.1.0
Component: vtigercrm | Version: 5.1.0-val2
Resolution: | Keywords:
------------------------+---------------------------------------------------
Comment (by prasad):
Replying to [comment:2 prasad]:
A better one to take care of smb:\\ also
> // Protocol prefix could be like (https://, smb://, file://, \\,
smb:\\,...)
> if(!empty($filename) &&
!preg_match('/^\w{1,5}:\/\/|^\w{0,3}:?\\\\\\\\/', trim($filename),
$match)) {
>
}}}
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/5982#comment:3>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list