bash - Curl - Exclamation mark in User Auth/Password -


There is a problem with curl and HTTP user and password method methods, this exclamation mark is not liked, I tried Avoid the following ways:

Tried and failed ...

  / usr / bin / curl -u 'Username: Slash with: PasswordWithExclaimation!' Slash with http: //test.com/ / usr/bin/cURL-uUsername \\ Passwordwidth Exclamation \! Http: //test.com/   

is not working for the default or digest if it uses (cases - -) ... is being deprived of 401. ..

What am I doing wrong?

slash with curl -u username \\: passwordwidth exclamation \! Http: // ....

works fine.

  received / HTTP / 1.1 authorization: Basic VXNlck5hbWVcV2l0aFNsYXNoOlBhc3N3b3JkV2l0aEV4Y2xhbWF0aW9uIQ == User-agent: Curl / 7.21.0 Host: teststuff1.com:80 Accept: * / *   

which "slash with the username": PasswordWithExclaimation! " In AUTH string.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -