New issue
Advanced search Search tips

Issue 819280 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Chrome building Get-Printer-Attributes requests with double forward slash

Project Member Reported by skau@chromium.org, Mar 6 2018

Issue description

When querying for printer attributes to check autoconf status, requesting urls with multiple backslashes.  E.g. ipp://192.168.1.165//printers/foo

Observed on:
Chrome 66.0.3356.0
 

Comment 1 by skau@chromium.org, Mar 13 2018

Cc: skau@chromium.org luum@chromium.org valleau@chromium.org weifangsun@chromium.org
 Issue 821495  has been merged into this issue.

Comment 2 by skau@chromium.org, Mar 13 2018

Labels: -Pri-2 M-67 Pri-1
Owner: skau@chromium.org
Status: Sta (was: Untriaged)

Comment 3 by skau@chromium.org, Mar 13 2018

Status: Started (was: Sta)

Comment 4 by skau@chromium.org, Mar 13 2018

Labels: M-66
Summary: Chrome building Get-Printer-Attributes requests with double forward slash (was: Chrome building Get-Printer-Attributes requests with double backslash)
Fixing summary:
- backslash -> forward slash
Project Member

Comment 6 by bugdroid1@chromium.org, Mar 15 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c7083daf25aad0704113cfc0c9af026c54577877

commit c7083daf25aad0704113cfc0c9af026c54577877
Author: Sean Kau <skau@chromium.org>
Date: Thu Mar 15 19:08:43 2018

Fix url building for printer attribute queries.

We're building urls to make printer attribute requests to printers
directly to check for autoconf support and connectivity.  Ensure that
there is only one '/' between the authority and queue.

Bug:  819280 
Change-Id: I0be201f46b344b807e121326f9bbf1d86565de32
Reviewed-on: https://chromium-review.googlesource.com/960939
Commit-Queue: Sean Kau <skau@chromium.org>
Reviewed-by: Xiaoqian Dai <xdai@chromium.org>
Cr-Commit-Position: refs/heads/master@{#543465}
[modify] https://crrev.com/c7083daf25aad0704113cfc0c9af026c54577877/printing/backend/cups_jobs.cc

Comment 7 by skau@chromium.org, Mar 15 2018

Status: Fixed (was: Started)

Comment 8 by skau@chromium.org, Mar 15 2018

Labels: Merge-Request-66
Project Member

Comment 9 by sheriffbot@chromium.org, Mar 16 2018

Labels: -Merge-Request-66 Merge-Review-66 Hotlist-Merge-Review
This bug requires manual review: M66 has already been promoted to the beta branch, so this requires manual review
Please contact the milestone owner if you have questions.
Owners: cmasso@(Android), cmasso@(iOS), josafat@(ChromeOS), abdulsyed@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Merge-Review-66 Merge-Approved-66
Project Member

Comment 11 by bugdroid1@chromium.org, Mar 20 2018

Labels: -merge-approved-66 merge-merged-3359
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9af231f2ef09d887219901149674be5bc0aa5c38

commit 9af231f2ef09d887219901149674be5bc0aa5c38
Author: Sean Kau <skau@chromium.org>
Date: Tue Mar 20 00:41:11 2018

Fix url building for printer attribute queries.

We're building urls to make printer attribute requests to printers
directly to check for autoconf support and connectivity.  Ensure that
there is only one '/' between the authority and queue.

TBR=skau@chromium.org

(cherry picked from commit c7083daf25aad0704113cfc0c9af026c54577877)

Bug:  819280 
Change-Id: I0be201f46b344b807e121326f9bbf1d86565de32
Reviewed-on: https://chromium-review.googlesource.com/960939
Commit-Queue: Sean Kau <skau@chromium.org>
Reviewed-by: Xiaoqian Dai <xdai@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#543465}
Reviewed-on: https://chromium-review.googlesource.com/969836
Reviewed-by: Sean Kau <skau@chromium.org>
Cr-Commit-Position: refs/branch-heads/3359@{#332}
Cr-Branched-From: 66afc5e5d10127546cc4b98b9117aff588b5e66b-refs/heads/master@{#540276}
[modify] https://crrev.com/9af231f2ef09d887219901149674be5bc0aa5c38/printing/backend/cups_jobs.cc

Comment 12 by skau@chromium.org, Mar 20 2018

To verify, attempt to setup a connection to a CUPS print server which will reject the double-slash uri.

Comment 13 by skau@chromium.org, Mar 20 2018

Labels: -Hotlist-Merge-Review

Sign in to add a comment