Provide nonce as String, not Optional<String>, to Soy

Otherwise, when the nonce is available the index page fails to load,
with "500 Internal Server Error", due to the server-side exception
"IllegalArgumentException: Unable to convert param csp_nonce to a

Noticed via a Google-internal integration test.  Tested by re-running
the same test with this change applied.

Google-Bug-Id: b/33429040
Change-Id: I98fc6ea267eff6a332e1345f79a4e7bbf51376a7
1 file changed
tree: 3bf648c96aa092d90b90ad5becd6012c1e80447f
  1. .settings/
  2. Documentation/
  3. java/
  4. javatests/
  5. lib/
  6. modules/
  7. resources/
  8. tools/
  9. .bazelrc
  10. .bazelversion
  11. .gitignore
  12. .gitmodules
  13. .mailmap
  14. BUILD
  16. fake_pom_deploy.xml
  19. version.bzl

Gitiles - A simple JGit repository browser

Gitiles is a simple repository browser for Git repositories, built on JGit. Its guiding principle is simplicity: it has no formal access controls, no write access, no fancy Javascript, etc.

Gitiles automatically renders *.md Markdown files into HTML for simplified documentation. Refer to the Markdown documentation for details.


Gitiles is configurable in a git-style configuration file named gitiles.config. Refer to the configuration documentation for details.


Use the issue tracker at github to file bugs.

Contributing to Gitiles

Please refer to the Developer Guide.