Skip to content

Commit

Permalink
Remove jsp servlet for html files because it causes charset issue
Browse files Browse the repository at this point in the history
jsp servlet forces none jsp pages have ISO-8859-1 encoding and it causes
problems to display other characters

Addiontally, we don't use jsp for html file for a long time.

Resolves ant-media/Ant-Media-Server#6988
  • Loading branch information
mekya committed Jan 31, 2025
1 parent b0bf856 commit 112d474
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -251,12 +251,6 @@
<servlet-name>hls-upload-servlet</servlet-name>
<url-pattern>/hls-upload/*</url-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>

<mime-mapping>
<extension>m3u8</extension>
<mime-type>application/vnd.apple.mpegurl</mime-type>
Expand Down

0 comments on commit 112d474

Please sign in to comment.