Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Some special characters in passwords don't work on Windows #164

Closed
dmcassel opened this issue Jan 8, 2014 · 3 comments
Closed

Some special characters in passwords don't work on Windows #164

dmcassel opened this issue Jan 8, 2014 · 3 comments
Labels
Milestone

Comments

@dmcassel
Copy link
Collaborator

dmcassel commented Jan 8, 2014

As reported by a user:

FYI, when I used U>G:j,{ZSd0m as password to bootstrap, I got invalid login error. See below.

D:\QhpNoSql>ml local bootstrap
Bootstrapping your project into MarkLogic on localhost...
ERROR: Invalid login credentials for local environment!!

Once I removed all special characters from the password, it started to work.

D:\QhpNoSql>ml local bootstrap
Bootstrapping your project into MarkLogic on localhost...
... Bootstrap Complete

The user also reported that the password was fine on OS X, so it seems to be Windows specific.

@dmcassel dmcassel added this to the v1.6 milestone Apr 23, 2014
@rlouapre
Copy link
Contributor

Some character in property value are encoded by this line [1]

U>G:j,{ZSd0m is encoded in U>G:j,{{ZSd0m

[1] - https://github.com/marklogic/roxy/blob/dev/deploy/lib/server_config.rb#L1210

@philipfennell
Copy link

I have seen this on Macs too.

@rlouapre
Copy link
Contributor

@philipfennell which branch you are currently using master or dev?

Apparently the fix is only available in dev (from master [1], from dev [2])

[1] - https://github.com/marklogic/roxy/blob/master/deploy/lib/MLClient.rb#L26
[2] - https://github.com/marklogic/roxy/blob/dev/deploy/lib/MLClient.rb#L26

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants