Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use port in relative url

Is there a way to specify i different port when getting data from a relative url?

example of relative urls:

~/path/page.html
../../path/page.html

What i would like to do is this:

:8012/path/page.html
like image 980
Andreas Avatar asked Jan 25 '26 18:01

Andreas


1 Answers

No. You'll have to include the host name as well (see http://greenbytes.de/tech/webdav/rfc3986.html#rfc.section.4.2.p.1).

like image 131
Julian Reschke Avatar answered Jan 29 '26 12:01

Julian Reschke



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!