question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Inline comments may cause impossible to set values

See original GitHub issue

I have a quite secure token generated with shiny characters, including ", ' `` and #.

6U+c'UDH"l`ZFDD5%/|'t{Ojt.5hzu+#wUBH#:9w*l_I2z{^m/7h-U&!qcLlXZ_

The new inlined comment feature is great, but it makes this kind of token impossible to declare inside .env file, even using any of the supported quoting character (single quote, double quote, backtick …)

See unit test in the related PR.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
motdotlacommented, Feb 23, 2022

Oh my. So sorry about this. Will look into it promptly.

0reactions
MathRobincommented, Dec 10, 2022

I have the same problem, and double-quoted don’t work. Same for things with %, like %26 (for example) into string value, it converts to hexa code so, it’s replaced with &.

For example, my db password is defined like this

DB_PASSWORD="y%26n3a"

(it’s not the full password of course)

I get this :

DB_PASSWORD: 'y&n3a'

Context:

  • nextjs, which uses dotenv + dotenv-expand
Read more comments on GitHub >

github_iconTop Results From Across the Web

how can you have inline comments in the setup source?
In the name value sections it is not possible to inline a comment because the value portion is not enclosed anyhow and so...
Read more >
Solved: Problem: Saving of inline comments not possible!
Hi Johannes, I understand you are unable to add inline comments on your instance. Some of the more common causes of this can...
Read more >
Dockerfile reference - Docker Documentation
Parser directives are written as a special type of comment in the form # directive=value . A single directive may only be used...
Read more >
◉ Differential User Guide: Inline Comments - Phabricator
These comments are called "inline comments", and can be used to discuss ... time to revise and adjust the inlines, and make their...
Read more >
4 Ways to Add Inline Comments in Confluence - Medium
In edit mode, Inline Comments by K15t allow you to navigate between discussions and resolve them. But you can't add a new inline...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found