Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 382
    • Issues 382
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGitTortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #3297
Closed
Open
Issue created Nov 05, 2018 by Sergey G. Brester@sebres

Missing URI-encode of `%BUGID%` part by call of issue tracker URL

We have two different issue ID formats:

  • \#000001 - our issue/bug id
  • CUA#002, CUB#003 - customer issue (defect) id;

For the first format I can extract the number (without # char),
for the second - I cannot do that, so the URL to the issue looks like server/bt/issue/CUA#002 (and the browser "trims" URI and uses 002 as anchor inside the resulting page of server/bt/issue/CUA).

What steps will reproduce the problem?

  1. Configure issue tracker bugtraq.url like server/bt/issue/%BUGID% and bugtraq.logregex like this:
((?:[A-Z]{3})?\#\d+)
((?:[A-Z]{3}\#)?\d+)
  1. Test it, e. g. click the link in the message containing CUA#002

What is the expected output?
Properly encoded part of URI (replaces %BUGID%) like server/bt/issue/CUA%23002
What do you see instead?
The un-encoded URI part, so URL like server/bt/issue/CUA#002

What version of TortoiseGit and Git are you using? On what operating system?
Preview 2.7.1.0 20181021-7f2d0004 / Windows 7

Edited Nov 05, 2018 by Sergey G. Brester
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking