https://xetown.com/index.php?_filter=search&mid=qna&search_keyword=mp3&search_target=title_content&document_srl=474144

 

상기 링크와 같이 질문을 드린 적이 있습니다.

댓글에 나와있는대로도 해봤지만..수정이 안되더군요..

 

다시 말씀을 드리자면

먼저, mp3 파일을 본문삽입 할 경우, 아래와 같은 html 구문이 삽입됩니다.

 

<img src="/common/img/blank.gif"

editor_component="multimedia_link" multimedia_src="/files/attach/images/792/291/034/1f11f4277cba910fb00fb59891576a70.mp3" width="400" height="320" style="display:block;width:400px;height:320px;border:2px dotted #4371B9;background:url(http://wdpc.iptime.org:5577/xeV2/modules/editor/components/multimedia_link/tpl/multimedia_link_component.gif) no-repeat center;" auto_start="false" alt="" />

 

해당 구문을 가진 채로 글을 등록하고 나면 아래와 같이 바뀝니다.

 

<p><img src="/common/img/blank.gif" width="400" height="320" style="width:400px;height:320px;border:2px dotted #4371B9;background:url(http://wdpc.iptime.org:5577/xeV2/&quot;http://wdpc.iptime.org:5577/xev2/modules/editor/components/multimedia_link/tpl/multimedia_link_component.gif&quot;) no-repeat center;" alt="" editor_component="image_link" /><br /></p>
 

관리자일 경우, 문제없이 등록이 됩니다.

 

제가 궁금한 것은 바로 저 부분입니다. 위에 있는 코드가 일반회원이 글을 등록하고 나면

왜 아래코드처럼 변경되는지 이유를 모르겠습니다.

한가지 의심되는건 1.18버전에서 보안상의 연유로, 관리자만 등록할 수 있게 변경되었다..

이정도 입니다.

다른 회원님들은 게시판에 mp3를 일반 회원이 올릴 때 이상 없었는지 궁금하구요,

혹시 같은 증상이 있었는데 해결하셨다면, 해결 방법 공유 부탁 드립니다.

 

감사합니다.

  • profile

    XE 1.8.29에서 관리자가 아닌 계정으로 위의 소스를 붙여넣어 보았으나 multimedia_src 속성이 사라지는 문제는 발견하지 못했습니다. 코어 소스를 봐도 에디터 컴포넌트에서 추가한 속성은 건드리지 않도록 되어 있고요. 어딘가 다른 부분에 문제가 있는 게 아닐까 합니다.