plalloni/plantumlservlet — comment on commit 4f80244a2bc097f388b4ad22bccccaf5d2049aec
File: src/net/sourceforge/plantuml/servlet/PlantUmlServlet.java line 169
By maximesinclair:

In the other url patterns, the format of the diagram is in lowercase and except for SVG, the FileFormat enumeration is not consistent with the existing patterns (/txt/ but ATXT, /img/ but PNG).
At least, you need to catch the exception returned by FileFormat.valueOf() when the format is not valid.