Comment 1 for bug 1841968

Revision history for this message
BLuFeNiX (pyronavi-gmail) wrote :

I have created a work-around for this. By modifying my URL handler plugin to prepend the terminal's CWD, we can pass the fully-qualified path to the custom URL handler. However, this requires that the end user maintains forks of all effected plugins, in the case that they want to use a custom URL handler.

```
  def callback(self, url):
    if not url.startswith("~") and not url.startswith("/"):
      for terminal in self.terminator.terminals:
        if terminal is self.terminator.last_focused_term:
          return terminal.get_cwd() + "/" + url
    else:
      return os.path.expanduser(url)
```