munkireport / profile

Profile module for MunkiReport
2 stars 6 forks source link

Slash (/) in profile name prevents searching #10

Open flammable opened 4 years ago

flammable commented 4 years ago

We're using Workspace ONE (formerly AirWatch) as our MDM. When a configuration profile is pushed down to the clients, the revision of the profile is added after the name, like so:

DEPNotify/V_1

If you make a change to the profile and save it in the WS1 console, it'll change the number, and the new profile will show on the client:

DEPNotify/V_2

In MunkiReport's Profile listing, this seems to break the search page - if you click on the title of a profile, you end up with a URL that looks like this:

https://munkireport.domain.tld/module/profile/items/DEPNotify%2FV_8

Clicking the link shows this message:

V_8 0
Machines

No machines.

Is there a way to encode the / so it doesn't break the search results?