snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Custom-Fields (URL format) and custom protocols

Open diekmanu opened this issue 10 years ago • 4 comments

Hi,

is there a way to specify custom protocols (rdp:// e.g.). Validation only works when entering http(s)/ftp links. ssh:// seems to work too.

Thanks!

diekmanu avatar Oct 24 '16 14:10 diekmanu

You would need to specify a regex that would meet your conditions. It's not currently possible to set custom protocols.

snipe avatar Oct 24 '16 21:10 snipe

But then I loose the ability to have hyperlinks right?

Can you tell me where I can find the custom field validation in source? Or is this something "hardcoded" in Laravel?

Would be awesome to just click on an assets custom field and launch an rdp-session.

diekmanu avatar Oct 25 '16 05:10 diekmanu

Okay, I found it. Thanks anyways.

diekmanu avatar Oct 25 '16 12:10 diekmanu

If you modify it, feel free to submit a pull request. Extra functionality is always good!

mnemonicly avatar Oct 25 '16 15:10 mnemonicly