Bug 1025228 - CUPS does not accept '@' as a part of password in smb URI
Summary: CUPS does not accept '@' as a part of password in smb URI
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: cups
Version: 18
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-31 09:46 UTC by vikram goyal
Modified: 2013-10-31 10:44 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-31 10:44:57 UTC
Type: Bug


Attachments (Terms of Use)
Desktop snapshot (91.02 KB, image/png)
2013-10-31 09:46 UTC, vikram goyal
no flags Details

Description vikram goyal 2013-10-31 09:46:07 UTC
Created attachment 817787 [details]
Desktop snapshot

Description of problem:
I am connecting to an SMB printer. A problem I came across was that if '@' is a part of the password given in the smb URI, error occurs while adding that printer.

Version-Release number of selected component (if applicable):

cups.x86_64                         1:1.5.4-28.fc18                    @updates 
cups-libs.x86_64                    1:1.5.4-28.fc18                    @updates 
cups-pk-helper.x86_64               0.2.4-1.fc18                       @anaconda
ghostscript-cups.x86_64             9.06-4.fc18                        @updates 
gutenprint-cups.x86_64              5.2.9-7.fc18                       @updates 
python-cups.x86_64                  1.9.63-1.fc18                      @updates

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:
One should be able to add a printer with a password containing '@' symbol since it is not possible for the user to ask the administrators to change the passwords of windows machines for Linux cups printing.

Additional info:
Please see the accompanying PNG

Comment 1 Tim Waugh 2013-10-31 10:44:57 UTC
If using the CUPS web interface directly, you need to percent-encode any characters that may otherwise confuse a URI parser.


Note You need to log in before you can comment on or make changes to this bug.