Starts in:
1 DAY
16 HRS
6 MIN
59 SEC
Starts in:
1 D
16 H
6 M
59 S

Add Regex Support to URL Redirection feature #17710

Description

Cms-kit url redirection feature was working on static urls. This offered a very limited usage. RegEx support has been added to expand this usage. Now RegEx can be used except static url as a source.

image

Checklist

  • I fully tested it as developer.
  • I documented it (or no need to document or I will create a separate documentation issue)
  • I've assigned reviewer, related labels and set a milestone for this PR

How to test it?

1-) Run the cms-kit demo application.
2-) login with admin
3-) Go to /Cms/UrlShorting
4-) Click the Forward an URL button
5) Enter a regex for Source. Example: /product\?id=(\d+)
6-) Enter a regex for Target. Example: /p/$1
7-) Check the checkbox
8-) Enter a url in the test input. Example: /product?id=25
9-) Look at the expected output. Output according to examples: /p/25
10-) Save and go to the appropriate url in the source. Successful if redirected to the expected page.

Version
8.3.0-rc.1
Release Date
01 August, 2024
Labels
abp-module-cms-kit-pro breaking-change