koajs / koajs/rewrite

map query string to rewrite url

Open
#20 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
98
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Hi Guys,

Is it possible to map query string from original url to rewrite url, something like this.

```
/experience/testing-main?ddate='10-10-10'
to
/some-random-url?ddate=$1
```

Please advise if its possible.

Thanks

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the URL rewriting middleware and how it currently handles query strings. Determine whether the requested query-parameter mapping is supported or needs a defined feature scope; completion should be demonstrated by a clear example or test covering the source and rewritten URLs.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.