#30307: dbshell fails for Oracle
-------------------------------------+-------------------------------------
               Reporter:  msg555     |          Owner:  msg555@…
                   Type:  Bug        |         Status:  assigned
              Component:  Utilities  |        Version:  2.2
               Severity:  Normal     |       Keywords:  oracle dbshell
           Triage Stage:             |  runshell
  Unreviewed                         |      Has patch:  0
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 The oracle backend client erroneously backslash escapes the password field
 passed to the sqlplus binary when trying to execute runshell.

 
https://github.com/django/django/commit/acfc650f2a6e4a79e80237eabfa923ea3a05d709
 #diff-54b46d05e1da568b3cc987c423e00c50R197 has the PR and line that
 introduced this issue.

 Expectation:

 `./manage.py dbshell` opens an interactive shell when an Oracle database
 is configured.

 Actual behavior:

 `./manage.py dbshell` fails to login yielding error `ORA-01017: invalid
 username/password; logon denied`. Additionally it will print the arguments
 passed to the sqlplus binary to standard error and reveal the password has
 unexpected backslash characters in it.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30307>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/049.eb3e7e6903d61749956bcd44e0c61a36%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to