rsnext/test/integration/query-with-encoding/pages/percent.js
Joe Haddad eb38d223e6
Test Query String Behavior (#10102)
* Test Query String Behavior

* Test Query String with %

* Test Query String With LF

* Update test

* Consolidate

* Consolidate
2020-01-20 15:16:18 -05:00

15 lines
319 B
JavaScript

import Link from 'next/link'
const Another = () => (
<div>
<Link href="/?another=hello%25">
<a id="hello-percent">Hello %</a>
</Link>
<br />
<Link href={{ pathname: '/', query: { complex: 'yes%' } }}>
<a id="hello-complex">Hello Complex</a>
</Link>
</div>
)
export default Another