Broken Documentation Link for WireGuard App Card (404)

The list item for wireguards docs-button directs users to a 404 page:

https://docs.ultra.cc/applications/wireguard-%28vpn%29

instead of the valid documentation page:

https://docs.ultra.cc/applications/wireguard

## Steps reproduce:

  1. Go to the control panel as a signed in user.

  2. Open either “Apps” or “Installers“ tab for a service, depending on if wireguard is installed.

  3. Find the row for wireguard in the table and click docs button.

Note: Bug might not be present in dev environment since local file paths can include “( )“ but those characters are replaced when url-encoded.

## Cause (I think):

Front end js helper function hardcodes a custom slug for a few docs-urls:

 function modifyDocsName(appName) { 
// ...
     } else if (appName === 'WireGuard') {
        return 'wireguard-%28vpn%29';
     } //...
}

Used here:

<a href="https://docs.ultra.cc/applications/{{ vm.modifyDocsName(app.display_name) | hyphenateRedirect }}" target="_blank" class="btn btn-sm btn-primary">Docs</a>

Share update with 0 linked conversations as well

Upvoters
Status

In Progress

Board
🐛

Bug Reports

Date

About 7 hours ago

Author

An Anonymous User

Subscribe to post

Get notified by email when there are changes.