Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #4719

Closed
Open
Created Aug 06, 2013 by Administrator@rootOwner

500 Encoding Error error on commit page

Created by: dengzhp

The commit adds two files with name in Chinese.

relevent production log:

Started GET "/freestyler/test/commit/abcde0b13279b92aa0d2eb67c706253dd48e2b17" for 192.168.55.254 at 2013-08-06 10:59:44 +0800
Processing by CommitController#show as HTML
  Parameters: {"project_id"=>"freestyler/test", "id"=>"abcde0b13279b92aa0d2eb67c706253dd48e2b17"}

Encoding::CompatibilityError (incompatible character encodings: UTF-8 and ASCII-8BIT):
  app/models/commit.rb:69:in `method_missing'
  app/contexts/commit_load_context.rb:23:in `execute'
  app/controllers/commit_controller.rb:11:in `show'

  Rendered errors/encoding.html.haml within layouts/errors (0.2ms)
  Rendered layouts/_head.html.haml (2.7ms)
  Rendered layouts/_search.html.haml (269.3ms)
  Rendered layouts/_head_panel.html.haml (289.0ms)
  Rendered layouts/_flash.html.haml (0.2ms)
Completed 500 Internal Server Error in 468ms (Views: 267.6ms | ActiveRecord: 41.5ms)

gitlab version: 5.4

Assignee
Assign to
Time tracking