QuantEcon / sphinxcontrib-jupyter

A Sphinx Extension for Generating Jupyter Notebooks
BSD 3-Clause "New" or "Revised" License
74 stars 23 forks source link

Fix julia build by checking lengh of `uri` string before accessing first element #248

Closed sglyon closed 4 years ago

sglyon commented 4 years ago

This addresses #247

I believe we can always count on uri being a string and the len function being well defined for the type, but that is one vulnerability with this attempted fix.

mmcky commented 4 years ago

@arnavs this should resolve your issue for Julia compilation. Thanks @sglyon