[LON-CAPA-admin] Unicode BOM problem in resource filenames
H. K. Ng
hkng at fsu.edu
Mon Sep 22 13:37:18 EDT 2014
Hi,
Interesting how the extra invisible character got inserted into the problem
title?? I have renamed the affected problems so that they do not contain
the character. Hopefully that helps though I suspect you may have to delete
the old problems and import the "new" problems.
-hk
On Mon, Sep 22, 2014 at 1:12 AM, Craig Wiegert <wiegert at physast.uga.edu>
wrote:
> Hi all,
>
> One of our instructors has encountered difficulties with some of the
> problems in the OpenStax archive. He is able to incorporate the
> resources into a sequence just fine, and both he and the students can
> access the problems. However, whenever someone submits an answer, they
> get the "invalid access" error: "Sorry... This action is currently not
> authorized."
>
> For example, in the
>
> /res/fsu/openstax-CollegePhysics/14_HeatAndHeatTransfer/
>
> directory, he was having trouble with Problems 05, 08, and 10.
>
> It turns out that the filename for each of these troublesome problems
> includes a UTF-8 encoded "invisible" Byte-Order Mark (BOM) right after
> the underscore (hex ef bb bf). This is evident by looking at the
> URL-encoding of these resource filenames, e.g., when incorporating them
> into a sequence.
>
> Is our ability to "read but not answer" these problems a Unicode bug
> within the perl code of LON-CAPA itself? Is it something obscurely
> locale-related on our servers? Any help would be appreciated!
>
> - Craig
>
> ----------------------------------------------------------------------
> Craig Wiegert Office: 215 Physics Building
> Undergraduate Physics Coordinator
> Associate Professor Phone: 706-542-4023
> Department of Physics & Astronomy Fax: 706-542-2492
> University of Georgia Email: wiegert at physast.uga.edu
> Athens, GA 30602-2451 cwiegert at uga.edu
>
> _______________________________________________
> LON-CAPA-admin mailing list
> LON-CAPA-admin at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.lon-capa.org/pipermail/lon-capa-admin/attachments/20140922/91397065/attachment.html>
More information about the LON-CAPA-admin
mailing list