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

URL PATH REGEX improved to match any link #6320

Merged
merged 1 commit into from
Nov 16, 2021
Merged

URL PATH REGEX improved to match any link #6320

merged 1 commit into from
Nov 16, 2021

Conversation

pecanoro
Copy link
Contributor

@pecanoro pecanoro commented Nov 16, 2021

Deploying the changes for Expensify/expensify-common#426 cc/ @mateusbra

Details

Changing URL regex in order to match when link have a special charactere such as ( . , = ( + $ ! * ) right before a /

Fixed Issues

$ #6216

Tests

  1. Log in to e.cash and navigate to a conversation
  2. Paste and send this link: https://www.google.com/maps/place/Poster+Auctions+International,+Inc./@40.7384572,-73.9942151,20.17z/data=!4m13!1m7!3m6!1s0x89c259a2c5fdee77:0x1439488db9133bae!2s26+W+17th+St,+New+York,+NY+10011!3b1!8m2!3d40.7383679!4d-73.993907!3m4!1s0x89c259a2c438eb63:0x115ba65a3675338b!8m2!3d40.7384793!4d-73.9937764
  3. Link works correctly and the whole URL is hyperlinked.

QA Steps

  1. Log in to e.cash and navigate to a conversation
  2. Paste and send this link: https://www.google.com/maps/place/Poster+Auctions+International,+Inc./@40.7384572,-73.9942151,20.17z/data=!4m13!1m7!3m6!1s0x89c259a2c5fdee77:0x1439488db9133bae!2s26+W+17th+St,+New+York,+NY+10011!3b1!8m2!3d40.7383679!4d-73.993907!3m4!1s0x89c259a2c438eb63:0x115ba65a3675338b!8m2!3d40.7384793!4d-73.9937764
  3. Link works correctly and the whole URL is hyperlinked.

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

WhatsApp Image 2021-11-06 at 02 05 01

@pecanoro pecanoro self-assigned this Nov 16, 2021
@pecanoro pecanoro requested a review from a team as a code owner November 16, 2021 03:56
@MelvinBot MelvinBot requested review from timszot and removed request for a team November 16, 2021 03:57
@timszot timszot merged commit dd17068 into main Nov 16, 2021
@timszot timszot deleted the rocio-BumpCommon branch November 16, 2021 22:51
@OSBotify
Copy link
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify
Copy link
Contributor

🚀 Deployed to staging by @timszot in version: 1.1.15-18 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@mvtglobally
Copy link

@pecanoro @timszot What platforms do you want us to QA?

@timszot
Copy link
Contributor

timszot commented Nov 23, 2021

@mvtglobally this can be tested on all platforms. It should only require pasting the link from the QA steps and confirming it hyperlinks correctly.

@OSBotify
Copy link
Contributor

🚀 Deployed to production by @roryabraham in version: 1.1.16-10 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

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.

4 participants