搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

more options

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.

所有回覆 (1)

more options

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