Public bug reported:

Using --styled-output (which is the default running cURL interactive
terminal) results in the double-underline text attribute being set
incorrectly and remaining on after cURL exits.

For example, running this in xfce4-terminal:
curl -I google.com

Results in double-underlined text starting from the ":" after
"Location", and running into the shell prompt after cURL has exited.

The intended behaviour of this feature is HTTP header names to be bold,
and header values to be normal.

While I noticed the problem in xfce4-terminal on Xubuntu, others have
reported the issue on other terminal emulators, so I don't think this is
specific to xfce4-terminal.

Man page for --styled-output doesn't mention setting double underline either:
    Enables the automatic use of bold font styles when writing HTTP headers to 
the terminal. Use  --no-styled-output  to switch them off.
              Added in 7.61.0.

This has already been fixed upstream by using the correct font attribute
control code.

Upstream cURL bug report:
https://github.com/curl/curl/issues/2736

Fixed upstream in:
https://github.com/curl/curl/pull/2738

** Affects: curl (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: curl (openSUSE)
     Importance: Medium
         Status: Fix Released

** Attachment added: "Screenshot of problem"
   
https://bugs.launchpad.net/bugs/1810471/+attachment/5226802/+files/curl-double-underline.png

** Bug watch added: bugzilla.suse.com/ #1105624
   https://bugzilla.suse.com/show_bug.cgi?id=1105624

** Also affects: curl (openSUSE) via
   https://bugzilla.suse.com/show_bug.cgi?id=1105624
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to curl in Ubuntu.
https://bugs.launchpad.net/bugs/1810471

Title:
  Styled-output incorrectly uses double-underline attribute

Status in curl package in Ubuntu:
  New
Status in curl package in openSUSE:
  Fix Released

Bug description:
  Using --styled-output (which is the default running cURL interactive
  terminal) results in the double-underline text attribute being set
  incorrectly and remaining on after cURL exits.

  For example, running this in xfce4-terminal:
  curl -I google.com

  Results in double-underlined text starting from the ":" after
  "Location", and running into the shell prompt after cURL has exited.

  The intended behaviour of this feature is HTTP header names to be
  bold, and header values to be normal.

  While I noticed the problem in xfce4-terminal on Xubuntu, others have
  reported the issue on other terminal emulators, so I don't think this
  is specific to xfce4-terminal.

  Man page for --styled-output doesn't mention setting double underline either:
      Enables the automatic use of bold font styles when writing HTTP headers 
to the terminal. Use  --no-styled-output  to switch them off.
                Added in 7.61.0.

  This has already been fixed upstream by using the correct font
  attribute control code.

  Upstream cURL bug report:
  https://github.com/curl/curl/issues/2736

  Fixed upstream in:
  https://github.com/curl/curl/pull/2738

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1810471/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to