X
Tap here to go to the mobile version of the site.

Support Forum

when clicking on custom protocol link, how to prevent firefox from prepending the path with Program Files /Mozilla Firefox?

Posted

When clicking on a link like this in firefox: phpstorm://open?url=file://C:\wamp\www\myproject\src\AppBundle\Controller\AppController.php&line=17

I am asked which .exe I would like to associate with this protocol, I choose phpstorm.exe.

But the app supposed to open the file (phpstorm) gives me the following error:

Cannot find file 'C:\Program Files\Mozilla Firefox\phpstorm:\open?url=file:\C:\wamp\www\myproject\src\AppBundle\Controller\AppController.php&line=17'

The problem seems to be that the path is prepended with "C:\Program Files\Mozilla Firefox" How do I change this behaviour ? Thanks.

When clicking on a link like this in firefox: phpstorm://open?url=file://C:\wamp\www\myproject\src\AppBundle\Controller\AppController.php&line=17 I am asked which .exe I would like to associate with this protocol, I choose phpstorm.exe. But the app supposed to open the file (phpstorm) gives me the following error: Cannot find file 'C:\Program Files\Mozilla Firefox\phpstorm:\open?url=file:\C:\wamp\www\myproject\src\AppBundle\Controller\AppController.php&line=17' The problem seems to be that the path is prepended with "C:\Program Files\Mozilla Firefox" How do I change this behaviour ? Thanks.

Additional System Details

Installed Plug-ins

  • Shockwave Flash 27.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0

More Information

Roland Tanglao
  • Administrator
72 solutions 783 answers

Hi pfleu

I guess you are using the Jet Brains IDE to write PHP webapplication of some sort?

This is a Firefox user support forum, we don't have the expertise to answer developer questions. Please ask on stack overflow and tag it firefox and I would also give jet brains support a try too.

https://support.mozilla.org/en-US/kb/where-go-developer-support Cheers!

..Roland

Hi pfleu I guess you are using the Jet Brains IDE to write PHP webapplication of some sort? This is a Firefox user support forum, we don't have the expertise to answer developer questions. Please ask on stack overflow and tag it firefox and I would also give jet brains support a try too. https://support.mozilla.org/en-US/kb/where-go-developer-support Cheers! ..Roland