Comments (4)
@wyattwalter : exactly. Unfortunately, a sequence of @
... @
in command-line options (e.g. @foo@
) is interpreted as a placeholder for environment variables, and will be replaced with the value of that environment variable (or the empty string if not set). This is an older feature for dynamic command-line option values about 8 years ago, which is even briefly mentioned in the docs.
Unfortunately the current behavior leads to ambiguity.
While using @@
could be treat specially and not be replaced, it would still be unclear what to do with values such as @abc@def
. The @abc@
could means an environment variable abc
or the literal string @abc@
.
The workarounds for this are exactly as you already described in the ticket:
Workarounds that do work:
- leave the option off and let it prompt (this doesn't work in scripts)
- add an additional '@' for each one in the string. i.e. if the password is 'foo@@' then use 'foo@@@@'
If we'd change the behavior now to not replace sequences of @
... @
, I guess that would be the desired behavior for most people, because the replacement of @
... @
often comes as a surprise and is totally unexpected. Changing it now however would change the behavior for everyone who has run into the issue already and has established the second workaround (i.e. replacing every @
with a @@
) already. Unfortunately this makes the whole issue non-trivial to resolve, because we will somehow need to keep the current behavior available, at least as an option, and it is currently unclear how to select the desired behavior programmatically.
from arangodb.
Related PR to improve the startup option description: #20876
from arangodb.
You were not the first by far - hence the cause of action ;)
from arangodb.
Thank you both! That makes sense, I had missed that bit.
from arangodb.
Related Issues (20)
- Follower getting 503 Error HOT 1
- Index not used if attribute has space in the name HOT 5
- Arangobench unreliable behavior HOT 2
- Using a different character to "/" in node ids. HOT 3
- Please make Docker image of v3.12.0 available HOT 2
- GPG key expired on 03/23/2024 HOT 6
- [Optimize graph traversal] How to skip startVertexs that exist in the previous graph traversal results. HOT 2
- 【AQL Grammar】how to write the AQL statement which's function equal to "g.inE("tech").otherV().inE('friends').otherV()" ? HOT 2
- Multiple vulnerabilities in Node JS modules shipped with ArangoDB 3.11.8 HOT 8
- aardvark: display of "info" tab data is very slow with v3.12
- Add a way to persist the webui-Graph settings including start vertex HOT 4
- A while after upgrade to v3.12.0, unable to create documents: "Corruption: Compaction sees out-of-order keys" HOT 3
- 3.12 webui fails soon after login
- Why does a Graph sometimes look mixed up and sometimes it's normal again?
- Support for Loading Databases from URL Path or Embedded Storage Mode HOT 5
- Feature Request: Seperate query from data for easier and safer operations HOT 3
- How to listen to changes in Arango Collection HOT 1
- RocksDB encountered a background error during a compaction operation: HOT 2
- GraphAR export / import
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arangodb.