google / zoekt

Fast trigram based code search
1.67k stars 113 forks source link

git:// url in submodule trips up web template rendering #124

Open robinp-tw opened 3 years ago

robinp-tw commented 3 years ago

Submodules like https://github.com/fluent/fluent-plugin-hoop/blob/master/.gitmodules lead to a git://... FileURLTemplate in the indices, which I suspect trips up the webserver's template rendering:

It tries to render that into an a href's .URL, but some magic go template validation catches that and replaces all urls on the site with weird zgotmplz refs (see https://stackoverflow.com/questions/14765395/why-am-i-seeing-zgotmplz-in-my-go-html-template-output).