Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • howto-cards howto-cards
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 12
    • Issues 12
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • R3
  • howto-cardshowto-cards
  • Merge requests
  • !253

Merged
Created Jul 16, 2021 by Jacek Lebioda@jacek.lebiodaMaintainer

fix: regex for email protection is less greedy now

  • Overview 1
  • Commits 1
  • Pipelines 2
  • Changes 1

(it was matching one character too much in certain cases)

We had a bug when having:

<a href="mailto:safety-sb@uni.lu">safety-sb@uni.lu</a>
it was converted to
<a href="mailto:%73%61%66%65%74%79-%73%62@%75%6E%69.%6C%75>safety-sb@uni.lu</a>
                                                          ^ here
note the lack of trailing quotation mark -----------------+ 
After the fix it will be added:
----------------------------------------------------------+
                                                          v
<a href="mailto:%73%61%66%65%74%79-%73%62@%75%6E%69.%6C%75">safety-sb@uni.lu</a>

The bug was caused on the improper assumption that mailto can have quotation marks after colon

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix-to-email-obfuscator