<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>44986</bug_id>
          
          <creation_ts>2023-01-20 16:07:33 +0300</creation_ts>
          <short_desc>Не использует прокси-сервер, указанный в переменных окружения</short_desc>
          <delta_ts>2023-01-30 22:42:31 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>chromium</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey Cherepanov">cas</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>alimektor</cc>
    
    <cc>andy</cc>
    
    <cc>cas</cc>
    
    <cc>legion</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>220412</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2023-01-20 16:07:33 +0300</bug_when>
    <thetext>Устанавливаем переменную среду окружения согласно документации:
export https_proxy=http://IP-PROXY:3128

Запускаем chromium

Страницы открываются напрямую. Если указать явно в строке запуска --proxy-server=http://IP-PROXY:3128, то браузер ходит через прокси-сервер.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220414</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Gladkov">legion</who>
    <bug_when>2023-01-20 16:29:17 +0300</bug_when>
    <thetext>Это задокументированной поведение [1] и это скорее всего не будет исправлено [2]. Я попробую добавить хак в скрипт запуска chromium.

[1] https://chromium.googlesource.com/chromium/src/+/HEAD/net/docs/proxy.md#Manual-proxy-settings
[2] https://bugs.chromium.org/p/chromium/issues/detail?id=85199</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220417</commentid>
    <comment_count>2</comment_count>
    <who name="Evgeny Shesteperov">alimektor</who>
    <bug_when>2023-01-20 16:45:10 +0300</bug_when>
    <thetext>Уточните, пожалуйста, на какой системе Вы это воспроизводите.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220419</commentid>
    <comment_count>3</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2023-01-20 16:59:21 +0300</bug_when>
    <thetext>(Ответ для Evgeny Shesteperov на комментарий #2)
&gt; Уточните, пожалуйста, на какой системе Вы это воспроизводите.

А есть разница для chromium?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220420</commentid>
    <comment_count>4</comment_count>
    <who name="Evgeny Shesteperov">alimektor</who>
    <bug_when>2023-01-20 17:10:17 +0300</bug_when>
    <thetext>(Ответ для Andrey Cherepanov на комментарий #3)
&gt; (Ответ для Evgeny Shesteperov на комментарий #2)
&gt; А есть разница для chromium?

В P10 у меня получилось воспроизвести по шагам баги только на ALT Workstation с MATE.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220449</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Gladkov">legion</who>
    <bug_when>2023-01-22 17:16:40 +0300</bug_when>
    <thetext>Могу предложить лишь что-то такое. Проверьте хватит ли этого.

https://git.altlinux.org/people/legion/packages/chromium.git?p=chromium.git;a=commitdiff;h=21880de87daa3a0c153d8ff636c3de615f97628d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220481</commentid>
    <comment_count>6</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2023-01-23 13:17:24 +0300</bug_when>
    <thetext>(Ответ для Alexey Gladkov на комментарий #5)
&gt; Могу предложить лишь что-то такое. Проверьте хватит ли этого.
&gt; 
&gt; https://git.altlinux.org/people/legion/packages/chromium.git?p=chromium.git;
&gt; a=commitdiff;h=21880de87daa3a0c153d8ff636c3de615f97628d

Нет, не хватит. https://git.altlinux.org/people/cas/packages/chromium.git?p=chromium.git;a=blobdiff;f=.rpm/chromium.sh;h=a08e1ac4a64bae13d3a3bdd7c8134f0fabf31a1f;hp=de829d457d4e93d23b41e1450bec0c724cf438b3;hb=556398c6fb77bd2b81d3ba40a6000b1e03520dea;hpb=26cd5c3598509d48db49ac883b3d6da9ef7bf64e

1. В for пропущен in. 
2. Изменения надо вносить в CHROMIUM_FLAGS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220495</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Gladkov">legion</who>
    <bug_when>2023-01-23 15:49:24 +0300</bug_when>
    <thetext>(Ответ для Andrey Cherepanov на комментарий #6)
&gt; Нет, не хватит.
&gt; https://git.altlinux.org/people/cas/packages/chromium.git?p=chromium.git;
&gt; a=blobdiff;f=.rpm/chromium.sh;h=a08e1ac4a64bae13d3a3bdd7c8134f0fabf31a1f;
&gt; hp=de829d457d4e93d23b41e1450bec0c724cf438b3;
&gt; hb=556398c6fb77bd2b81d3ba40a6000b1e03520dea;
&gt; hpb=26cd5c3598509d48db49ac883b3d6da9ef7bf64e

Ссылка битая.

&gt; 1. В for пропущен in. 

Да, простите. Запушилась старая версия.

https://git.altlinux.org/people/legion/packages/chromium.git?p=chromium.git;a=commitdiff;h=21880de87daa3a0c153d8ff636c3de615f97628d

&gt; 2. Изменения надо вносить в CHROMIUM_FLAGS.

Нет. Ты не посмотрел весь скрипт.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220923</commentid>
    <comment_count>8</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-01-30 22:42:31 +0300</bug_when>
    <thetext>chromium-109.0.5414.119-alt1 -&gt; sisyphus:

 Mon Jan 30 2023 Alexey Gladkov &lt;legion@altlinux.ru&gt; 109.0.5414.119-alt1
 - New version (109.0.5414.119).
 - Add a workaround to make the https_proxy environment variable work (ALT#44986).
 - Security fixes:
   - CVE-2023-0471: Use after free in WebTransport.
   - CVE-2023-0472: Use after free in WebRTC.
   - CVE-2023-0473: Type Confusion in ServiceWorker API.
   - CVE-2023-0474: Use after free in GuestView.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>