Issue with renoise.app():open_url() not sure if bug..

renoise.app():open_url() works in most cases except when there is a # in the URL

For example the following code doesn’t work:

url = "http://www.ensemble-software.net/CDPDocs/html/cblur.htm#AVRG"
renoise.app():open_url(url)

Instead it tries to open:http://www.ensemble-software.net/CDPDocs/html/cblur.htm%23AVRG

So basically it is converting the ‘#’ into ‘%23’

I have found a work around using the following code:

url = "http://www.ensemble-software.net/CDPDocs/html/cblur.htm#AVRG"

if os.platform() == "WINDOWS" then
  os.execute("start "..url)
elseif os.platform() == "MACINTOSH" then  
  os.execute("open "..url)
elseif os.platform() == "LINUX" then
  os.execute("xdg-open "..url)
end

This works ok.

I can’t really work out why one approach works and not the other, maybe a bug? I am testing on osx el capitan