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

.viewportrc errors #13

Closed
SteBurz opened this issue Feb 8, 2018 · 1 comment
Closed

.viewportrc errors #13

SteBurz opened this issue Feb 8, 2018 · 1 comment

Comments

@SteBurz
Copy link
Contributor

SteBurz commented Feb 8, 2018

Password
Issue:
You can't use special characters in your confluence password, if you use this plugin. Reason is that the password doesn't get encoded. If you try to upload your Theme with gulp, you get an error 301 (permission error).

Confluence - URL
Issue:
If you have a confluence-base-url e.g. http://localhost:1990/ and insert this url in your .viewportrc you get a 404 Theme not found error, because of the last "/".

@skleinei
Copy link
Contributor

These are two issues:

  1. The issue with the password is really just limited some special characters, actually I only know about semicolons. The underlying issue is this one: error while parsing semicolons npm/ini#42. Reason: semicolons in INI files are handled as comments. Solution: encode semicolons in ini-file, like this:

     [DEV]
     confluenceBaseUrl=http://localhost:1990/confluence
     username=admin
     password=\;admin
    

https://github.com/K15t/viewport-tools will do this since 0.0.4.

  1. The trailing slashes have been fixed in the last commit. Will be released with 2.3.0.

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

No branches or pull requests

2 participants