Skip to content

fix(mr_create/issue_create): add encoding to title and change description encoding

Created by: kartikay101

  • Prevent browsers from converting a space containing query to a search query
  • Allow users to add symbols to their title and description
    • QueryEscape does not escape '+' which is converted to a space by the browser

Description

Used path encoding to convert spaces to %20 which prevents Titles and Descriptions with spaces from getting converted to search queries Did not use Query Encoding as it prevents the usage of + which won't be encoded and thus converted to a space

Related Issue

Resolves #833 (closed)

How Has This Been Tested?

Manually tested on

  • firefox
  • chrome
  • chromium

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)

Merge request reports