Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix invalid User agent headers #2350

Merged
merged 4 commits into from
Jul 12, 2019
Merged

fix invalid User agent headers #2350

merged 4 commits into from
Jul 12, 2019

Conversation

ayrat555
Copy link
Contributor

fixes

Request: GET /address/0x0000000000000000000000000000000000000000/internal_transactions
** (exit) an exception was raised:
    ** (UnicodeConversionError) invalid encoding starting at <<191, 39, 191, 34>>
        (elixir) lib/list.ex:906: List.to_string/1
        (block_scout_web) lib/block_scout_web/views/layout_view.ex:124: BlockScoutWeb.LayoutView.issue_body/1
        (block_scout_web) lib/block_scout_web/views/layout_view.ex:102: BlockScoutWeb.LayoutView.issue_link/1
        (block_scout_web) lib/block_scout_web/templates/layout/_footer.html.eex:34: BlockScoutWeb.LayoutView."_footer.html"/1
        (block_scout_web) lib/block_scout_web/templates/layout/app.html.eex:45: BlockScoutWeb.LayoutView."app.html"/1
        (phoenix) lib/phoenix/view.ex:399: Phoenix.View.render_to_iodata/3
        (phoenix) lib/phoenix/controller.ex:729: Phoenix.Controller.__put_render__/5
        (block_scout_web) lib/block_scout_web/endpoint.ex:1: BlockScoutWeb.Endpoint.instrument/4```

Changelog

  • fix invalid User agent headers

@coveralls
Copy link

coveralls commented Jul 11, 2019

Pull Request Test Coverage Report for Build 547e398c-2def-485c-9d24-80ac27ae9d6f

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 80.947%

Totals Coverage Status
Change from base Build 3aac4871-ae92-4dc7-9561-c8b4a46b2afe: 0.02%
Covered Lines: 5196
Relevant Lines: 6419

💛 - Coveralls

@vbaranov vbaranov merged commit 68fd068 into master Jul 12, 2019
@vbaranov vbaranov deleted the ab-fix-invalid-string-in-ua branch July 12, 2019 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants