url-encoder icon indicating copy to clipboard operation
url-encoder copied to clipboard

Suggestion: Avoid Encoding Non-SVG Inputs

Open pirateIV opened this issue 1 year ago • 0 comments

Suggestion

Currently, the tool encodes any input into a URL, assuming the input is always an SVG. However, there might be cases where users provides non-SVG inputs, leading to incorrect encoding.

Propesed Feature

  • Implement a check to determine if input is a valid SVG.
  • If the input is not an SVG, the tool should either:
    • Return an error message indicating the input is not an SVG.
    • Simply skip the encoding process and return the input as-is.

pirateIV avatar Aug 27 '24 01:08 pirateIV