当我们在编辑器中打开文件时,coldfusion 文件内容不再可读 [英] coldfusion file content no longer readable when we open the file in an editor

查看:8
本文介绍了当我们在编辑器中打开文件时,coldfusion 文件内容不再可读的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 ColdFusion 11 应用程序在我的本地计算机 (Windows 10) 上运行良好.但是,当我在 Eclipse 或什至在 Notepad 中打开任何 .cfm 文件时,我会得到不可读的内容,例如以下内容.以前没有发生过.如何使文件再次可读?

My ColdFusion 11 app is working fine on my local machine (Windows 10). But when I open any .cfm file in Eclipse or even in a Notepad, I get the content - such as the following - that is not readable. It was not happening before. How can I make the files readable again?

更新:

该网站在 windows 10 上使用 IIS 10.上述问题与IIS有关吗?我注意到,当我从备份文件夹中打开相同 .cfm 文件的副本时,我可以读取该文件并且上述问题不存在.

The website is using IIS 10 on windows 10. Could the above issue have something to do with IIS? I've noticed that when I open a copy of the same .cfm file from my backup folder I can read the file and the above issue does not exist.

推荐答案

您正在查看一个加密文件.CFIDE 文件夹中的大多数 CFML 文件都经过加密,以防止代码被窥探.这与 IIS 无关.

You are looking at an encrypted file. Most CFML files within the CFIDE folder are encrypted to protect the code from prying eyes. This has nothing to do with IIS.

您可以在此处找到有关此主题的简短说明.

A short description about this topic you can find here.

除非您自己的文件有任何批量加密,否则您应该能够打开自己的代码并且您将看到可读的内容.如果您不小心对自己的文件进行了编码,那么您将不得不恢复备份或从源代码管理中获取原始文件.过去,谷歌搜索提出了一种(技术上非法的)工具来解密此类文件.我不知道这是否仍然适用于较新的 ColdFusion 版本.

Unless there is any batch encryption in place for your own files, then you should be able to open up your own code and you will see the readable content. If you accidentally encoded your own files, then you will have to restore your backup or get the original files from source control. In the past Google search brought up a (technically illegal) tool for unencrypting such files. I've no idea whether this still works with newer ColdFusion editions.

这篇关于当我们在编辑器中打开文件时,coldfusion 文件内容不再可读的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆