ctx AbsoluteUri returns URI with the form "https//" or "http//" missing ":"
Example: When I call ctx.AbsoluteURI("/alexkeycard/pmslinkregister") I get this result: https//alexdev.hmobile.es:8443/alexkeycard/pmslinkregister
I think that the problem is that this line https://github.com/kataras/iris/blob/567c06702fa4359dc4835593a55c55854069954a/context/context.go#L2039 is returning scheme from URL in the form "http" or "https" and the the method uses that value without adding ":".
Thank you for providing an example and identifying a potential issue in the code snippet. Based on your description, it seems that the ctx.AbsoluteURI method is returning a URL without the colon (":") after the scheme ("http" or "https").
To address this issue, you can modify the code to ensure that the colon is included in the returned URL. Here's an example of how you can modify the code:
// Assuming this is the original code
scheme := ctx.Request().URL.Scheme
// Modify the code to include the colon
scheme := ctx.Request().URL.Scheme + ":"
By appending the colon to the scheme, you ensure that the returned URL includes the correct format. In your example, it should be "https://" instead of "https//".
Make sure to test the modified code to verify that it resolves the issue and generates the correct URL format. Additionally, consider submitting a bug report or contributing the fix to the relevant project repository if you believe it's a widespread issue that should be addressed in the source code.